aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/basic/basic.link/p9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/basic/basic.link/p9.cpp')
-rw-r--r--test/CXX/basic/basic.link/p9.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CXX/basic/basic.link/p9.cpp b/test/CXX/basic/basic.link/p9.cpp
index bd16b02d7b..c895253c68 100644
--- a/test/CXX/basic/basic.link/p9.cpp
+++ b/test/CXX/basic/basic.link/p9.cpp
@@ -6,6 +6,5 @@ namespace N { } // expected-note{{here}}
// First bullet: two names with external linkage that refer to
// different kinds of entities.
void f() {
- int N(); // expected-error{{redefinition}}
+ int N(); // expected-error{{redefinition}} expected-warning{{interpreted as a function declaration}}
}
-