Skip to content

Commit ebb2fee

Browse files
Update testtokenize.cpp
1 parent e0ce648 commit ebb2fee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/testtokenize.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -6634,7 +6634,9 @@ class TestTokenizer : public TestFixture {
66346634
ASSERT_EQUALS("double&(4[", testAst("void f(double(&)[4]) {}"));
66356635
ASSERT_EQUALS("voidu*", testAst("int* g ( void* (f) (void*), void* u);")); // #12475
66366636
ASSERT_EQUALS("f::(", testAst("::f();")); // #12544
6637-
ASSERT_EQUALS("(( (, f ({ (= (. c x) 0))))", testAst("f(c, { .x = 0 });", AstStyle::Z3)); // #12806
6637+
ASSERT_EQUALS("(( f (, c ({ (= (. x) 0))))", testAst("f(c, { .x = 0 });", AstStyle::Z3)); // #12806
6638+
ASSERT_EQUALS("(= it (( (. s insert) (, it ({ (, (, (= (. a) i) (= (. b) 2)) (= (. c) 3))))))",
6639+
testAst("it = s.insert(it, { .a = i, .b = 2, .c = 3 });", AstStyle::Z3)); // #12815
66386640
}
66396641

66406642
void asttemplate() { // uninstantiated templates will have <,>,etc..

0 commit comments

Comments
 (0)