aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/storage-class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/storage-class.cpp')
-rw-r--r--test/SemaCXX/storage-class.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/SemaCXX/storage-class.cpp b/test/SemaCXX/storage-class.cpp
index a31e67be7e..4025595de1 100644
--- a/test/SemaCXX/storage-class.cpp
+++ b/test/SemaCXX/storage-class.cpp
@@ -1,2 +1,3 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-extern const int PR6495 = 42;
+extern const int PR6495a = 42;
+extern int PR6495b = 42; // expected-warning{{'extern' variable has an initializer}}