aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2010-09-10 22:34:40 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2010-09-10 22:34:40 +0000
commit5221d8f2da008689f7ff9476e6522bb2b63ec1a3 (patch)
treeec4531aef091d60a2e47a4cd93210e403d474c6f /test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
parentfe6834af25d0809215c9e205c9983dd6d3f968b4 (diff)
Address Doug's comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113650 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.cpp2
1 files changed, 2 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 e4d1537cdc..5182709c89 100644
--- a/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
+++ b/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
@@ -19,12 +19,14 @@ void nospec();
void allspec() throw(...);
void intspec() throw(int);
void emptyspec() throw();
+void nothrowattr() __attribute__((nothrow));
void call() {
N(nospec());
N(allspec());
N(intspec());
P(emptyspec());
+ P(nothrowattr());
}
void (*pnospec)();