Skip to content

Commit 4126d67

Browse files
committed
Add test
1 parent 2dac535 commit 4126d67

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/testtokenize.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7147,6 +7147,7 @@ class TestTokenizer : public TestFixture {
71477147
ASSERT_EQUALS("crequires{ac::||= a{b{||",
71487148
testAst("template <class a, class b> concept c = requires { a{} || b{}; } || a::c;"));
71497149
ASSERT_EQUALS("ifrequires{(", testAst("if (requires { true; }) {}")); // #13308
7150+
ASSERT_EQUALS("Crequires({requires({||= sizeofT(4== sizeofT(8==", testAst("concept C = requires() { sizeof(T) == 4; } || requires() { sizeof(T) == 8; };"));
71507151
}
71517152

71527153
void astcast() {

0 commit comments

Comments
 (0)