diff options
author | Jacob Bandes-Storch <jacob@bandes-stor.ch> | 2017-12-31 05:13:03 +0000 |
---|---|---|
committer | Jacob Bandes-Storch <jacob@bandes-stor.ch> | 2017-12-31 05:13:03 +0000 |
commit | 1dbc09363a03be45163db9526895ba16b14ba7c6 (patch) | |
tree | da14e6727139b4066a32c488ac2057684980e15c /clang/test/SemaCXX/copy-initialization.cpp | |
parent | c7e67a04e0f33f4e79b23829fd26ba142cf69b00 (diff) | |
download | bcm5719-llvm-1dbc09363a03be45163db9526895ba16b14ba7c6.tar.gz bcm5719-llvm-1dbc09363a03be45163db9526895ba16b14ba7c6.zip |
Reverted 321592: [Sema] Improve diagnostics for const- and ref-qualified member functions
A few tests need to be fixed
llvm-svn: 321593
Diffstat (limited to 'clang/test/SemaCXX/copy-initialization.cpp')
-rw-r--r-- | clang/test/SemaCXX/copy-initialization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/copy-initialization.cpp b/clang/test/SemaCXX/copy-initialization.cpp index cd7e5f07e14..4f6c65cf550 100644 --- a/clang/test/SemaCXX/copy-initialization.cpp +++ b/clang/test/SemaCXX/copy-initialization.cpp @@ -26,7 +26,7 @@ struct foo { }; // PR3600 -void test(const foo *P) { P->bar(); } // expected-error{{'this' argument to member function 'bar' has type 'const foo', but function is not marked const}} +void test(const foo *P) { P->bar(); } // expected-error{{'bar' not viable: 'this' argument has type 'const foo', but function is not marked const}} namespace PR6757 { struct Foo { |