llvm-project/clang/test/CodeGen/emit-all-decls.c

9 lines
167 B
C

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