#6426 Regression now has platform dependent results
This commit is contained in:
parent
7581231d9d
commit
b133d50ebe
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue