diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-02-03 02:37:59 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-02-03 02:37:59 +0000 |
| commit | 91dfaacd389e4f8c46d1269df4646571e6ee12c8 (patch) | |
| tree | 77fcb0e31231216b2f44199ea525520dbecbdaba /clang/test/SemaCXX/cxx98-compat.cpp | |
| parent | 9f3870919305fb36ad71ea41a4cc720c6e9237f1 (diff) | |
| download | bcm5719-llvm-91dfaacd389e4f8c46d1269df4646571e6ee12c8.tar.gz bcm5719-llvm-91dfaacd389e4f8c46d1269df4646571e6ee12c8.zip | |
Implement DR329. We already did the right thing here in C++98 mode, but r104014
(which implemented the DR) was disabled in C++11.
llvm-svn: 200673
Diffstat (limited to 'clang/test/SemaCXX/cxx98-compat.cpp')
| -rw-r--r-- | clang/test/SemaCXX/cxx98-compat.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/test/SemaCXX/cxx98-compat.cpp b/clang/test/SemaCXX/cxx98-compat.cpp index 3608338b587..8c1efc96728 100644 --- a/clang/test/SemaCXX/cxx98-compat.cpp +++ b/clang/test/SemaCXX/cxx98-compat.cpp @@ -225,13 +225,6 @@ template<typename T> typename T::ImPrivate SFINAEAccessControl(T t) { // expecte int SFINAEAccessControl(...) { return 0; } int CheckSFINAEAccessControl = SFINAEAccessControl(PrivateMember()); // expected-note {{while substituting deduced template arguments into function template 'SFINAEAccessControl' [with T = PrivateMember]}} -template<typename T> -struct FriendRedefinition { - friend void Friend() {} // expected-warning {{friend function 'Friend' would be implicitly redefined in C++98}} expected-note {{previous}} -}; -FriendRedefinition<int> FriendRedef1; -FriendRedefinition<char> FriendRedef2; // expected-note {{requested here}} - namespace CopyCtorIssues { struct Private { Private(); |

