xref: /llvm-project/clang/test/Import/missing-import/test.c (revision 8c86197de3cba4257f26133e837d64e5f8ece210)
1 // RUN: not clang-import-test -import %S/Inputs/S.c -expression %s 2>&1 | FileCheck %s
2 // CHECK: error: No such file or directory: {{.*}}Inputs/S.c{{$}}
expr()3 void expr() {
4   struct S MyS;
5   void *MyPtr = &MyS;
6 }
7