diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-06-20 23:58:09 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-06-20 23:58:09 +0000 |
| commit | 7796da240952bb7cc288dc2163897cd9ade4a194 (patch) | |
| tree | a56f00ace4615186813ef9b2c80b41bb7840594a /clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp | |
| parent | aad8e480549bc3e23b172534c2b6b8ffcf0425a2 (diff) | |
| download | bcm5719-llvm-7796da240952bb7cc288dc2163897cd9ade4a194.tar.gz bcm5719-llvm-7796da240952bb7cc288dc2163897cd9ade4a194.zip | |
Add a couple more tests.
llvm-svn: 184501
Diffstat (limited to 'clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp')
| -rw-r--r-- | clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp b/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp index 218990e9bb3..3681d7757e9 100644 --- a/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp +++ b/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp @@ -165,6 +165,7 @@ template<typename T, typename... Types> struct alignas(Types) TestUnexpandedDecls : T{ // expected-error{{expression contains unexpanded parameter pack 'Types'}} void member_function(Types); // expected-error{{declaration type contains unexpanded parameter pack 'Types'}} void member_function () throw(Types); // expected-error{{exception type contains unexpanded parameter pack 'Types'}} + void member_function2() noexcept(Types()); // expected-error{{expression contains unexpanded parameter pack 'Types'}} operator Types() const; // expected-error{{declaration type contains unexpanded parameter pack 'Types'}} Types data_member; // expected-error{{data member type contains unexpanded parameter pack 'Types'}} static Types static_data_member; // expected-error{{declaration type contains unexpanded parameter pack 'Types'}} |

