Fixed unit tests

This commit is contained in:
Daniel Marjamäki 2021-06-27 09:04:47 +02:00
parent 2a2e071a85
commit 05df31c12a
1 changed files with 2 additions and 3 deletions

View File

@ -347,9 +347,8 @@ private:
ASSERT_EQUALS("", errout.str());
// Don't crash on wrong syntax
ASSERT_THROW(check("int x __attribute__((constructor));\n"
"int x __attribute__((destructor));"),
InternalError);
check("int x __attribute__((constructor));\n"
"int y __attribute__((destructor));");
}
void initializer_list() {