summaryrefslogtreecommitdiff
path: root/test/Parser/cxx-extern-c-array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx-extern-c-array.cpp')
-rw-r--r--test/Parser/cxx-extern-c-array.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Parser/cxx-extern-c-array.cpp b/test/Parser/cxx-extern-c-array.cpp
index 14912fd1067b..11092ad0c1cc 100644
--- a/test/Parser/cxx-extern-c-array.cpp
+++ b/test/Parser/cxx-extern-c-array.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
extern "C" int myarray[];
int myarray[12] = {0};