mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Test case for annotate builtin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
65b2e3df0d
commit
3c593c947c
7
test/CFrontend/2008-02-11-AnnotateBuiltin.c
Normal file
7
test/CFrontend/2008-02-11-AnnotateBuiltin.c
Normal file
@ -0,0 +1,7 @@
|
||||
// RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | grep llvm.annotation
|
||||
|
||||
int main() {
|
||||
int x = 0;
|
||||
return __builtin_annotation(x, "annotate");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user