@@ -464,7 +464,7 @@ TEST_F(TargetDeclTest, Concept) {
464
464
)cpp" ;
465
465
EXPECT_DECLS (
466
466
" ConceptSpecializationExpr" ,
467
- {" template <typename T> concept Fooable = requires (T t) { t.foo(); }; " });
467
+ {" template <typename T> concept Fooable = requires (T t) { t.foo(); }" });
468
468
469
469
// trailing requires clause
470
470
Code = R"cpp(
@@ -475,7 +475,7 @@ TEST_F(TargetDeclTest, Concept) {
475
475
void foo() requires [[Fooable]]<T>;
476
476
)cpp" ;
477
477
EXPECT_DECLS (" ConceptSpecializationExpr" ,
478
- {" template <typename T> concept Fooable = true; " });
478
+ {" template <typename T> concept Fooable = true" });
479
479
480
480
// constrained-parameter
481
481
Code = R"cpp(
@@ -486,7 +486,7 @@ TEST_F(TargetDeclTest, Concept) {
486
486
void bar(T t);
487
487
)cpp" ;
488
488
EXPECT_DECLS (" ConceptSpecializationExpr" ,
489
- {" template <typename T> concept Fooable = true; " });
489
+ {" template <typename T> concept Fooable = true" });
490
490
491
491
// partial-concept-id
492
492
Code = R"cpp(
@@ -497,7 +497,7 @@ TEST_F(TargetDeclTest, Concept) {
497
497
void bar(T t);
498
498
)cpp" ;
499
499
EXPECT_DECLS (" ConceptSpecializationExpr" ,
500
- {" template <typename T, typename U> concept Fooable = true; " });
500
+ {" template <typename T, typename U> concept Fooable = true" });
501
501
}
502
502
503
503
TEST_F (TargetDeclTest, FunctionTemplate) {
0 commit comments