Try to fix #7608 (Assertion failed in test/testvarid.cpp at line 1988)
This commit is contained in:
parent
83b982064d
commit
ca929f0f1b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue