summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/except/except.spec
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-11-25 07:07:05 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-11-25 07:07:05 +0000
commitc91d12ce8081e00906b5bd7be9234e8ffa6f827d (patch)
tree2095e7cd928a22b49f09e2322f55676922cf24aa /clang/test/CXX/except/except.spec
parent52b9cbf880e275a0d51ce7420f61ccaa7979de2c (diff)
downloadbcm5719-llvm-c91d12ce8081e00906b5bd7be9234e8ffa6f827d.tar.gz
bcm5719-llvm-c91d12ce8081e00906b5bd7be9234e8ffa6f827d.zip
Take cv-qualifiers on fields of class type into account when determining
whether a defaulted special member function should be deleted. llvm-svn: 195620
Diffstat (limited to 'clang/test/CXX/except/except.spec')
-rw-r--r--clang/test/CXX/except/except.spec/p14.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CXX/except/except.spec/p14.cpp b/clang/test/CXX/except/except.spec/p14.cpp
index dda69e9aad6..945a767584f 100644
--- a/clang/test/CXX/except/except.spec/p14.cpp
+++ b/clang/test/CXX/except/except.spec/p14.cpp
@@ -44,8 +44,8 @@ namespace PR13381 {
struct NoThrowMove {
NoThrowMove(const NoThrowMove &);
NoThrowMove(NoThrowMove &&) noexcept;
- NoThrowMove &operator=(const NoThrowMove &);
- NoThrowMove &operator=(NoThrowMove &&) noexcept;
+ NoThrowMove &operator=(const NoThrowMove &) const;
+ NoThrowMove &operator=(NoThrowMove &&) const noexcept;
};
struct NoThrowMoveOnly {
NoThrowMoveOnly(NoThrowMoveOnly &&) noexcept;
OpenPOWER on IntegriCloud