From 0f7a450afd00f19c5fda94c88b9bce48c8980851 Mon Sep 17 00:00:00 2001 From: Saar Raz Date: Wed, 10 Jul 2019 20:01:44 +0000 Subject: [PATCH] My first test commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365695 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp | 1 + 1 file changed, 1 insertion(+) 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}} -- 2.40.0