diff options
author | Saar Raz <saar@raz.email> | 2019-07-10 20:01:44 +0000 |
---|---|---|
committer | Saar Raz <saar@raz.email> | 2019-07-10 20:01:44 +0000 |
commit | cbe3ed17fa99102bcdc72e5aa65303ff05272ffc (patch) | |
tree | fa93912201e8a0291bc387aa8d51090d855ada2a | |
parent | 61cc6df5dc768b4697ee798719e38ddc04a91b0e (diff) | |
download | bcm5719-llvm-cbe3ed17fa99102bcdc72e5aa65303ff05272ffc.tar.gz bcm5719-llvm-cbe3ed17fa99102bcdc72e5aa65303ff05272ffc.zip |
My first test commit.
llvm-svn: 365695
-rw-r--r-- | clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp b/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp index 3baf238241a..863b608b5b7 100644 --- a/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp +++ b/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp @@ -30,6 +30,7 @@ template<typename T> concept bool D7() throw(int) { return true; } // expected-error {{function concept cannot have exception specification}} // Tag + concept class CC1 {}; // expected-error {{'concept' can only appear on the definition of a function template or variable template}} concept struct CS1 {}; // expected-error {{'concept' can only appear on the definition of a function template or variable template}} concept union CU1 {}; // expected-error {{'concept' can only appear on the definition of a function template or variable template}} |