summaryrefslogtreecommitdiffstats
path: root/libcxx/test/language.support/support.exception
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/language.support/support.exception')
-rw-r--r--libcxx/test/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp b/libcxx/test/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
index e18a073b94a..567ed579eb7 100644
--- a/libcxx/test/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
+++ b/libcxx/test/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
@@ -22,7 +22,7 @@ class A
int data_;
public:
explicit A(int data) : data_(data) {}
- virtual ~A() {}
+ virtual ~A() _NOEXCEPT {}
friend bool operator==(const A& x, const A& y) {return x.data_ == y.data_;}
};
OpenPOWER on IntegriCloud