This commit is contained in:
chrchr-github 2022-01-04 20:50:00 +01:00 committed by GitHub
parent 0ba9cb4e64
commit fe077fc141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -1655,6 +1655,13 @@ private:
"enum X { a, b, c };"
"void foo(X x4){}\n");
ASSERT_EQUALS("", errout.str());
Settings settings1;
settings1.platform(Settings::Win64);
check("using ui64 = unsigned __int64;\n"
"ui64 Test(ui64 one, ui64 two) { return one + two; }\n",
/*filename*/ nullptr, /*experimental*/ false, /*inconclusive*/ true, /*runSimpleChecks*/ true, /*verbose*/ false, &settings1);
ASSERT_EQUALS("", errout.str());
}
void passedByValue_nonConst() {