summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
authorJulien Lerouge <jlerouge@apple.com>2011-09-10 05:46:15 +0000
committerJulien Lerouge <jlerouge@apple.com>2011-09-10 05:46:15 +0000
commitd25ed06c63766c7f36c7be44e0abe208dc866fda (patch)
treebdfd523da41f650d573b8e65baa25963c38edba2 /clang/test/CodeGen
parente5f9a9e60379958eb02e66d86f5df9221bc793eb (diff)
downloadbcm5719-llvm-d25ed06c63766c7f36c7be44e0abe208dc866fda.tar.gz
bcm5719-llvm-d25ed06c63766c7f36c7be44e0abe208dc866fda.zip
Make this test portable on Win32.
llvm-svn: 139464
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r--clang/test/CodeGen/2007-06-15-AnnotateAttribute.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/test/CodeGen/2007-06-15-AnnotateAttribute.c b/clang/test/CodeGen/2007-06-15-AnnotateAttribute.c
index a51400288c2..de34866783b 100644
--- a/clang/test/CodeGen/2007-06-15-AnnotateAttribute.c
+++ b/clang/test/CodeGen/2007-06-15-AnnotateAttribute.c
@@ -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 foo(int y __attribute__((annotate("LocalValAnnotation")))) {
int main() {
static int a __attribute__((annotate("GlobalValAnnotation")));
a = foo(2);
- printf("hello world%d\n", a);
return 0;
}
OpenPOWER on IntegriCloud