summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/nested-name-spec.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-08-23 02:16:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-08-23 02:16:48 +0000
commitd136f60b07ebbb6fd8991433cb0285f6dacfed6f (patch)
treed19aa6199f190ee095a3d448e0e215abb9da1c36 /clang/test/SemaCXX/nested-name-spec.cpp
parenta609fe157654b5e3f54d2f43c1df05db7029d726 (diff)
downloadbcm5719-llvm-d136f60b07ebbb6fd8991433cb0285f6dacfed6f.tar.gz
bcm5719-llvm-d136f60b07ebbb6fd8991433cb0285f6dacfed6f.zip
Reword a diagnostic to avoid a confusing implication that it might be talking
about a declaration within a return type. llvm-svn: 189083
Diffstat (limited to 'clang/test/SemaCXX/nested-name-spec.cpp')
-rw-r--r--clang/test/SemaCXX/nested-name-spec.cpp2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud