Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / attribute_constructor.c
blob9e19679209f88c736526b3202e92453f66214db6
1 // RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.global_ctors
3 extern int bar();
4 void foo(void) __attribute__((constructor));
5 void foo(void) {
6 bar();