YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/emit-all-decls.c

9 lines
171 B
C
Raw Normal View History

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