llvm-project/clang/test/Import/missing-import/test.c

7 lines
193 B
C

// RUN: not clang-import-test -import %S/Inputs/S.c -expression %s 2>&1 | FileCheck %s
// CHECK: {{.*}}Couldn't open{{.*}}Inputs/S.c{{.*}}
void expr() {
struct S MyS;
void *MyPtr = &MyS;
}