From d136f60b07ebbb6fd8991433cb0285f6dacfed6f Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 23 Aug 2013 02:16:48 +0000 Subject: Reword a diagnostic to avoid a confusing implication that it might be talking about a declaration within a return type. llvm-svn: 189083 --- clang/test/SemaCXX/nested-name-spec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaCXX/nested-name-spec.cpp') diff --git a/clang/test/SemaCXX/nested-name-spec.cpp b/clang/test/SemaCXX/nested-name-spec.cpp index 572e4798244..855af93c238 100644 --- a/clang/test/SemaCXX/nested-name-spec.cpp +++ b/clang/test/SemaCXX/nested-name-spec.cpp @@ -261,7 +261,7 @@ namespace PR8159 { namespace rdar7980179 { class A { void f0(); }; // expected-note {{previous}} - int A::f0() {} // expected-error {{out-of-line definition of 'rdar7980179::A::f0' differs from the declaration in the return type}} + int A::f0() {} // expected-error {{return type of out-of-line definition of 'rdar7980179::A::f0' differs}} } namespace alias = A; -- cgit v1.2.3