mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41e2397b72
commit
c2a324fa36
6
test/CFrontend/2008-03-03-CtorAttrType.c
Normal file
6
test/CFrontend/2008-03-03-CtorAttrType.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// RUN: %llvmgcc %s -S -emit-llvm -o - | grep llvm.global_ctors
|
||||||
|
int __attribute__((constructor)) foo(void) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
void __attribute__((constructor)) bar(void) {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user