llvm-project/clang/test/CodeGen/attribute_constructor.c
Eric Christopher 85e5156598 Migrate most of the rest of test/FrontendC from llvm and migrate
most of them to FileCheck.

llvm-svn: 136159
2011-07-26 22:17:02 +00:00

7 lines
129 B
C

// RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.global_ctors
void foo() __attribute__((constructor));
void foo() {
bar();
}