aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/2007-06-15-AnnotateAttribute.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/CodeGen/2007-06-15-AnnotateAttribute.c b/test/CodeGen/2007-06-15-AnnotateAttribute.c
index a51400288c..de34866783 100644
--- a/test/CodeGen/2007-06-15-AnnotateAttribute.c
+++ b/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;
}