Skip to content

Commit

Permalink
Update testsimplifytypedef.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed May 3, 2024
1 parent ebf4b7d commit 70484d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testsimplifytypedef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2516,7 +2516,7 @@ class TestSimplifyTypedef : public TestFixture {

void simplifyTypedef106() { // ticket #3619 (segmentation fault)
const char code[] = "typedef void f ();\ntypedef { f }";
ASSERT_THROW_INTERNAL(tok(code), SYNTAX);
ASSERT_THROW_INTERNAL_EQUALS(tok(code), INTERNAL, "Internal error. AST cyclic dependency.");
}

void simplifyTypedef107() { // ticket #3963 (bad code => segmentation fault)
Expand Down

0 comments on commit 70484d4

Please sign in to comment.