mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +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:
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();
|
||||
}
|
Reference in New Issue
Block a user