bolt/deps/llvm-18.1.8/clang/test/Import/error-in-expression/test.c

7 lines
183 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// 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;
}