summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/SemaCXX/cxx1z-copy-omission.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/cxx1z-copy-omission.cpp b/clang/test/SemaCXX/cxx1z-copy-omission.cpp
index fbcff942e78..e2b8fd79617 100644
--- a/clang/test/SemaCXX/cxx1z-copy-omission.cpp
+++ b/clang/test/SemaCXX/cxx1z-copy-omission.cpp
@@ -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
OpenPOWER on IntegriCloud