From 37f3c6881bdb1306a3cfb44b997c6fc102af684c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 24 Aug 2014 08:50:49 +0200 Subject: [PATCH] ValueFlow: Removed testcases for code that has been removed --- test/testvalueflow.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/testvalueflow.cpp b/test/testvalueflow.cpp index ca7c2f4fd..c486aefab 100644 --- a/test/testvalueflow.cpp +++ b/test/testvalueflow.cpp @@ -996,18 +996,6 @@ private: TODO_ASSERT_EQUALS(true, false, testValueOfX(code, 3U, 0)); ASSERT_EQUALS(false, testValueOfX(code, 4U, 0)); - code = "void f() {\n" // #6044 - hang - " decal_t *decal = &decals[i++];\n" - " x = (int)((decal) && (decal->color));\n" - "}"; - testValueOfX(code, 0U, 0); - - code = "void f() {\n" // don't hang in valueFlowForward analysis - " int x = 0;\n" - " f2((char*)a[b?c[x]:x]);\n" - "}"; - testValueOfX(code, 0U, 0); - // TODO: float code = "void f(float x) {\n" " if (x == 0.5) {}\n"