llvm-for-llvmta/tools/clang/test/CodeGen/emit-all-decls.c

9 lines
171 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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() {
}