llvm-for-llvmta/tools/clang/test/CodeGen/emit-all-decls.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

9 lines
171 B
C

// RUN: %clang_cc1 -emit-llvm -o %t %s
// RUN: not grep "@foo" %t
// RUN: %clang_cc1 -femit-all-decls -emit-llvm -o %t %s
// RUN: grep "@foo" %t
static void foo() {
}