r288870 - Fix test.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 16:24:40 PST 2016


Author: rsmith
Date: Tue Dec  6 18:24:40 2016
New Revision: 288870

URL: http://llvm.org/viewvc/llvm-project?rev=288870&view=rev
Log:
Fix test.

Modified:
    cfe/trunk/test/SemaCXX/cxx1z-copy-omission.cpp

Modified: cfe/trunk/test/SemaCXX/cxx1z-copy-omission.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/cxx1z-copy-omission.cpp?rev=288870&r1=288869&r2=288870&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/cxx1z-copy-omission.cpp (original)
+++ cfe/trunk/test/SemaCXX/cxx1z-copy-omission.cpp Tue Dec  6 18:24:40 2016
@@ -124,7 +124,7 @@ struct AsBase : Noncopyable {
   AsBase() : Noncopyable(make()) {} // expected-error {{deleted}}
 };
 struct AsDelegating final {
-  AsDelegating(const AsDelegating &) = delete;
+  AsDelegating(const AsDelegating &) = delete; // expected-note {{deleted}}
   static AsDelegating make(int);
 
   // The base constructor version of this is problematic; the complete object




More information about the cfe-commits mailing list