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