[llvm-commits] [llvm] r46999 - /llvm/trunk/test/CFrontend/2008-02-11-AnnotateBuiltin.c

Tanya Lattner tonic at nondot.org
Mon Feb 11 23:46:33 PST 2008


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");
+}
+





More information about the llvm-commits mailing list