llvm-for-llvmta/tools/clang/test/Import/missing-import/test.c

7 lines
207 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not clang-import-test -import %S/Inputs/S.c -expression %s 2>&1 | FileCheck %s
// CHECK: error: No such file or directory: {{.*}}Inputs/S.c{{$}}
void expr() {
struct S MyS;
void *MyPtr = &MyS;
}