Author: jlerouge
Date: Sat Sep 10 00:46:15 2011
New Revision: 139464
URL: http://llvm.org/viewvc/llvm-project?rev=139464&view=rev
Log:
Make this test portable on Win32.
Modified:
cfe/trunk/test/CodeGen/2007-06-15-AnnotateAttribute.c
Modified: cfe/trunk/test/CodeGen/2007-06-15-AnnotateAttribute.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2007-06-15-AnnotateAttribute.c?rev=139464&r1=139463&r2=139464&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2007-06-15-AnnotateAttribute.c (original)
+++ cfe/trunk/test/CodeGen/2007-06-15-AnnotateAttribute.c Sat Sep 10 00:46:15
2011
@@ -1,8 +1,6 @@
// RUN: %clang_cc1 -emit-llvm %s -o - | grep llvm.global.annotations
// RUN: %clang_cc1 -emit-llvm %s -o - | grep llvm.var.annotation | count 3
-#include <stdio.h>
-
/* Global variable with attribute */
int X __attribute__((annotate("GlobalValAnnotation")));
@@ -19,6 +17,5 @@
int main() {
static int a __attribute__((annotate("GlobalValAnnotation")));
a = foo(2);
- printf("hello world%d\n", a);
return 0;
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits