From: Saar Raz Date: Wed, 10 Jul 2019 20:01:44 +0000 (+0000) Subject: My first test commit. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f7a450afd00f19c5fda94c88b9bce48c8980851;p=clang My first test commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365695 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp b/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp index 3baf238241..863b608b5b 100644 --- a/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp +++ b/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp @@ -30,6 +30,7 @@ template 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}}