From ca929f0f1be5698aabfccc8515312cfb18afae21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 19 Jul 2016 11:59:37 +0200 Subject: [PATCH] Try to fix #7608 (Assertion failed in test/testvarid.cpp at line 1988) --- test/testvarid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testvarid.cpp b/test/testvarid.cpp index 5cd7068d7..0d375b339 100644 --- a/test/testvarid.cpp +++ b/test/testvarid.cpp @@ -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;