new testcase that should have been added long ago.

llvm-svn: 26601
This commit is contained in:
Chris Lattner 2006-03-07 22:33:00 +00:00
parent 313570fb17
commit d312f73022
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// RUN: %llvmgcc %s -c -o - | llvm-dis | grep llvm.global_ctors
void foo() __attribute__((constructor));
void foo() {
bar();
}