new testcase that should have been added long ago.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-07 22:33:00 +00:00
parent 7809811e4e
commit 41dd39ee01

View File

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