aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/private-extern.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/private-extern.c')
-rw-r--r--test/Sema/private-extern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/private-extern.c b/test/Sema/private-extern.c
index 25591dc5b1f2..e480f3f22481 100644
--- a/test/Sema/private-extern.c
+++ b/test/Sema/private-extern.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only -Wno-private-extern %s
static int g0; // expected-note{{previous definition}}
int g0; // expected-error{{non-static declaration of 'g0' follows static declaration}}