diff options
Diffstat (limited to 'clang/test/CXX/special/class.copy/p3-cxx11.cpp')
-rw-r--r-- | clang/test/CXX/special/class.copy/p3-cxx11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/special/class.copy/p3-cxx11.cpp b/clang/test/CXX/special/class.copy/p3-cxx11.cpp index d8efbfd67033..bee2d02c9691 100644 --- a/clang/test/CXX/special/class.copy/p3-cxx11.cpp +++ b/clang/test/CXX/special/class.copy/p3-cxx11.cpp @@ -38,7 +38,7 @@ namespace PR10142 { X x2; if (i) throw x2; // okay - throw x; // expected-error{{call to deleted constructor of 'PR10142::X'}} + throw x; // expected-error{{call to deleted constructor of 'X'}} } catch (...) { } } |