emit-all-decls.c   [plain text]


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