forked from OSchip/llvm-project
new testcase that should have been added long ago.
llvm-svn: 26601
This commit is contained in:
parent
313570fb17
commit
d312f73022
|
|
@ -0,0 +1,6 @@
|
||||||
|
// RUN: %llvmgcc %s -c -o - | llvm-dis | grep llvm.global_ctors
|
||||||
|
|
||||||
|
void foo() __attribute__((constructor));
|
||||||
|
void foo() {
|
||||||
|
bar();
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue