Make this test portable on Win32.

llvm-svn: 139464
This commit is contained in:
Julien Lerouge 2011-09-10 05:46:15 +00:00
parent e5f9a9e603
commit d25ed06c63
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}