1 | // RUN: not clang-import-test -import %S/Inputs/S.c -expression %s 2>&1 | FileCheck %s |
---|---|
2 | // CHECK: {{.*}}no viable conversion{{.*}} |
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: {{.*}}no viable conversion{{.*}} |
3 | void expr() { |
4 | struct S MyS; |
5 | void *MyPtr = MyS; |
6 | } |
7 |