diff --git a/test/testuninitvar.cpp b/test/testuninitvar.cpp index e1735368c..d29058da6 100644 --- a/test/testuninitvar.cpp +++ b/test/testuninitvar.cpp @@ -4104,7 +4104,7 @@ private: "double b() {\n" " A c;\n" " c.x = 42;\n" - " return c->x;\n" + " return c.x;\n" "}\n"); ASSERT_EQUALS("", errout.str());