aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp b/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
index e4025d9e2f..e4d1537cdc 100644
--- a/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
+++ b/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
@@ -12,6 +12,7 @@ void simple() {
P(sizeof(0));
P(static_cast<int>(0));
N(throw 0);
+ N((throw 0, 0));
}
void nospec();