We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 492b85e commit 83f6f9eCopy full SHA for 83f6f9e
1 file changed
test/testgarbage.cpp
@@ -258,7 +258,8 @@ class TestGarbage : public TestFixture {
258
TEST_CASE(garbageCode227);
259
TEST_CASE(garbageCode228);
260
TEST_CASE(garbageCode229);
261
- TEST_CASE(garbageCode230);
+ TEST_CASE(garbageCode230);
262
+ TEST_CASE(garbageCode231);
263
264
TEST_CASE(garbageCodeFuzzerClientMode1); // test cases created with the fuzzer client, mode 1
265
@@ -1775,6 +1776,9 @@ class TestGarbage : public TestFixture {
1775
1776
void garbageCode230() { // #14432
1777
ASSERT_THROW_INTERNAL(checkCode("e U U,i"), SYNTAX);
1778
}
1779
+ void garbageCode231() {
1780
+ ASSERT_THROW_INTERNAL(checkCode("char char* [] = {"a" "b"}"), SYNTAX);
1781
+ }
1782
1783
1784
void syntaxErrorFirstToken() {
0 commit comments