Try to fix #7608 (Assertion failed in test/testvarid.cpp at line 1988)

This commit is contained in:
Daniel Marjamäki 2016-07-19 11:59:37 +02:00
parent 83b982064d
commit ca929f0f1b
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,6 @@ public:
}
private:
Settings settings;
void run() {
TEST_CASE(varid1);
TEST_CASE(varid2);
@ -178,6 +176,8 @@ private:
std::string tokenize(const char code[], bool simplify = false, const char filename[] = "test.cpp") {
errout.str("");
Settings settings;
settings.platform(Settings::Unix64);
settings.standards.c = Standards::C89;
settings.standards.cpp = Standards::CPP11;