aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Sema/i-c-e3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/i-c-e3.c b/test/Sema/i-c-e3.c
index c371f4a5cc..46b74decef 100644
--- a/test/Sema/i-c-e3.c
+++ b/test/Sema/i-c-e3.c
@@ -1,3 +1,3 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic-errors
+// RUN: clang %s -fsyntax-only -verify
-int a() {int p; *(1 ? &p : (void*)(0 && (a(),1))) = 10;} // expected-error {{null pointer expression is not an integer constant expression (but is allowed as an extension)}} // expected-note{{C does not permit evaluated commas in an integer constant expression}}
+int a() {int p; *(1 ? &p : (void*)(0 && (a(),1))) = 10;}