From 70484d4ff193df90c74fc0dbbe42fe6dff3dccf5 Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Fri, 3 May 2024 11:31:01 +0200 Subject: [PATCH] Update testsimplifytypedef.cpp --- test/testsimplifytypedef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testsimplifytypedef.cpp b/test/testsimplifytypedef.cpp index 37496dfe339..44abd19da3c 100644 --- a/test/testsimplifytypedef.cpp +++ b/test/testsimplifytypedef.cpp @@ -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)