Skip to content

Commit c4d0b34

Browse files
Update testtokenize.cpp
1 parent 93ef9d8 commit c4d0b34

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/testtokenize.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7819,7 +7819,9 @@ class TestTokenizer : public TestFixture {
78197819

78207820
ASSERT_NO_THROW(tokenizeAndStringify("void f() {\n" // #14395
78217821
" for (int i : [](int a, int b) { ++a; ++b; return std::vector<int>{a, b}; }(1, 2)) {}\n"
7822-
"}\n"));
7822+
"}\n"));
7823+
7824+
ASSERT_NO_THROW(tokenizeAndStringify("int y = a[x<>];")); // #14676
78237825

78247826
ignore_errout();
78257827
}

0 commit comments

Comments
 (0)