Clang Project

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