brintos

brintos / llvm-project-archived public Read only

0
0
Text · 452 B · b07440b Raw
15 lines · c
1// RUN: rm -rf %t2// RUN: split-file %s %t3// RUN: not %clang -target x86_64-unknown-unknown -extract-api %t/first-header.h -x objective-c-header %t/second-header.h 2>&1 | FileCheck %s4 5// CHECK: error: header file6// CHECK-SAME: input 'objective-c-header' does not match the type of prior input in api extraction; use '-x c-header' to override7 8//--- first-header.h9 10void dummy_function(void);11 12//--- second-header.h13 14void other_dummy_function(void);15