Fix test to not force triple, and also to not need stdint.h.

llvm-svn: 96499
This commit is contained in:
Daniel Dunbar 2010-02-17 19:26:59 +00:00
parent fd4e5dd187
commit d95638df44

View File

@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -fsyntax-only -verify %s
// RUN: %clang_cc1 -fsyntax-only -verify %s
#include <stdint.h>
typedef __typeof((int*) 0 - (int*) 0) intptr_t;
static int f = 10;
static int b = f; // expected-error {{initializer element is not a compile-time constant}}