Author: tbrethou
Date: Tue Feb 12 01:46:33 2008
New Revision: 46999
URL: http://llvm.org/viewvc/llvm-project?rev=46999&view=rev
Log:
Test case for annotate builtin.
Added:
llvm/trunk/test/CFrontend/2008-02-11-AnnotateBuiltin.c
Added: llvm/trunk/test/CFrontend/2008-02-11-AnnotateBuiltin.c
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2008-02-11-AnnotateBuiltin.c?rev=46999&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2008-02-11-AnnotateBuiltin.c (added)
+++ llvm/trunk/test/CFrontend/2008-02-11-AnnotateBuiltin.c Tue Feb 12 01:46:33
2008
@@ -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");
+}
+
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits