#6426 Regression now has platform dependent results

This commit is contained in:
amai 2018-04-04 16:07:07 +02:00
parent 7581231d9d
commit b133d50ebe
1 changed files with 1 additions and 1 deletions

View File

@ -3875,7 +3875,7 @@ private:
check("void foo(bool flag) {\n"
" bar( (flag) ? ~0u : ~0ul);\n"
"}");
ASSERT_EQUALS("", errout.str());
ASSERT_EQUALS((_settings.sizeof_int==_settings.sizeof_long)?"[test.cpp:2]: (style) Same value in both branches of ternary operator.\n":"", errout.str());
}
void duplicateValueTernary() {