Add returns to constexpr tests

These are needed since main() is actually replaced with SDL_main()
This commit is contained in:
Dmitry Marakasov 2017-07-11 17:47:40 +03:00
parent aec2186931
commit a53df08ff8
2 changed files with 4 additions and 0 deletions

View File

@ -24,4 +24,6 @@ int main(int, char*[]) {
constexpr int a = c1.GetAlpha(); constexpr int a = c1.GetAlpha();
static_assert(r == 0 && g == 0 && b == 0 && a == 0, ""); static_assert(r == 0 && g == 0 && b == 0 && a == 0, "");
return 0;
} }

View File

@ -77,4 +77,6 @@ int main(int, char*[]) {
static_assert(b3 && b4 && b5 && b6, ""); static_assert(b3 && b4 && b5 && b6, "");
} }
return 0;
} }