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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
175 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(void) {
}