summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/basic/basic.link/p9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX/basic/basic.link/p9.cpp')
-rw-r--r--clang/test/CXX/basic/basic.link/p9.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/basic/basic.link/p9.cpp b/clang/test/CXX/basic/basic.link/p9.cpp
index c895253c68f..680c93db2e2 100644
--- a/clang/test/CXX/basic/basic.link/p9.cpp
+++ b/clang/test/CXX/basic/basic.link/p9.cpp
@@ -6,5 +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}} expected-warning{{interpreted as a function declaration}}
+ int N(); // expected-error{{redefinition}} expected-warning{{interpreted as a function declaration}} expected-note {{replace parentheses with an initializer}}
}
OpenPOWER on IntegriCloud