]> granicus.if.org Git - clang/commitdiff
Fix test.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 7 Dec 2016 00:24:40 +0000 (00:24 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 7 Dec 2016 00:24:40 +0000 (00:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288870 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/cxx1z-copy-omission.cpp

index fbcff942e78f28dcd70cf6017facab7f9981659a..e2b8fd7961740915db8bbb3ee52395962d022e66 100644 (file)
@@ -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