diff options
-rw-r--r-- | test/CFrontend/2008-02-11-AnnotateBuiltin.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CFrontend/2008-02-11-AnnotateBuiltin.c b/test/CFrontend/2008-02-11-AnnotateBuiltin.c new file mode 100644 index 0000000..32bc7a8 --- /dev/null +++ b/test/CFrontend/2008-02-11-AnnotateBuiltin.c @@ -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"); +} + |