freebsd-dev/test/CodeGen/emit-all-decls.c
2009-11-18 14:59:57 +00:00

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() {
}