forked from OSchip/llvm-project
7 lines
183 B
C
7 lines
183 B
C
|
// RUN: not clang-import-test -import %S/Inputs/S.c -expression %s 2>&1 | FileCheck %s
|
||
|
// CHECK: {{.*}}no viable conversion{{.*}}
|
||
|
void expr() {
|
||
|
struct S MyS;
|
||
|
void *MyPtr = MyS;
|
||
|
}
|