mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
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:
parent
7809811e4e
commit
41dd39ee01
6
test/CFrontend/attribute_constructor.c
Normal file
6
test/CFrontend/attribute_constructor.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// RUN: %llvmgcc %s -c -o - | llvm-dis | grep llvm.global_ctors
|
||||||
|
|
||||||
|
void foo() __attribute__((constructor));
|
||||||
|
void foo() {
|
||||||
|
bar();
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user