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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/private-extern.c b/test/Sema/private-extern.c
index e480f3f224..e9b67d5070 100644
--- a/test/Sema/private-extern.c
+++ b/test/Sema/private-extern.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -verify -fsyntax-only -Wno-private-extern %s
+// RUN: %clang_cc1 -verify -fsyntax-only -Wno-private-extern -fmodules %s
static int g0; // expected-note{{previous definition}}
int g0; // expected-error{{non-static declaration of 'g0' follows static declaration}}