From: Julien Lerouge Date: Sat, 10 Sep 2011 05:46:15 +0000 (+0000) Subject: Make this test portable on Win32. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f2ec515d9a2c56b0cea14172bf5691c068c0c65;p=clang Make this test portable on Win32. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139464 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 - /* 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; }