Fixed unit tests
This commit is contained in:
parent
2a2e071a85
commit
05df31c12a
|
@ -347,9 +347,8 @@ private:
|
||||||
ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
|
|
||||||
// Don't crash on wrong syntax
|
// Don't crash on wrong syntax
|
||||||
ASSERT_THROW(check("int x __attribute__((constructor));\n"
|
check("int x __attribute__((constructor));\n"
|
||||||
"int x __attribute__((destructor));"),
|
"int y __attribute__((destructor));");
|
||||||
InternalError);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void initializer_list() {
|
void initializer_list() {
|
||||||
|
|
Loading…
Reference in New Issue