summaryrefslogtreecommitdiffstats
path: root/test/Sema/static-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/static-init.c')
-rw-r--r--test/Sema/static-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/static-init.c b/test/Sema/static-init.c
index 8011943..b4de927 100644
--- a/test/Sema/static-init.c
+++ b/test/Sema/static-init.c
@@ -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}}
OpenPOWER on IntegriCloud