fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git] / test / FrontendC / 2008-03-03-CtorAttrType.c
blob96648f4ec5a668e07dc468c1e57e397895a81ad3
1 // RUN: %llvmgcc %s -S -o - | grep llvm.global_ctors
2 int __attribute__((constructor)) foo(void) {
3 return 0;
5 void __attribute__((constructor)) bar(void) {}