Remove test case, ValueFlow will truncate and sign-extend values

This commit is contained in:
Daniel Marjamäki 2019-05-01 19:33:39 +02:00
parent 6c3c090403
commit c4c847b952
1 changed files with 0 additions and 8 deletions

View File

@ -81,14 +81,6 @@ private:
"}");
ASSERT_EQUALS("", errout.str());
check("int buf[256];\n"
"void foo()\n"
"{\n"
" signed char ch = 0x80;\n"
" buf[ch] = 0;\n"
"}");
ASSERT_EQUALS("[test.cpp:5]: (warning) Signed 'char' type used as array index.\n", errout.str());
check("int buf[256];\n"
"void foo()\n"
"{\n"