diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-09-10 21:03:58 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-09-10 21:03:58 +0000 |
commit | c574959e7bb9b0fae6fcf07deb6f2ba3f15ec3b1 (patch) | |
tree | f6d698f453308ceb1426efb9e81c9aeb60d5d1e6 /test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp | |
parent | 6b219d082434394c1ac401390ec1d1967727815a (diff) |
Add another small test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp')
-rw-r--r-- | test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp | 1 |
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(); |