Clang Project

clang_source_code/test/Import/error-in-import/test.c
1// RUN: not clang-import-test -import %S/Inputs/S.c -expression %s 2>&1 | FileCheck %s
2// CHECK: {{.*}}expected unqualified-id{{.*}}
3void expr() {
4  struct S MyS;
5  void *MyPtr = &MyS;
6}
7