mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 02:45:57 -04:00
Add returns to constexpr tests
These are needed since main() is actually replaced with SDL_main()
This commit is contained in:
parent
aec2186931
commit
a53df08ff8
@ -24,4 +24,6 @@ int main(int, char*[]) {
|
||||
constexpr int a = c1.GetAlpha();
|
||||
|
||||
static_assert(r == 0 && g == 0 && b == 0 && a == 0, "");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -77,4 +77,6 @@ int main(int, char*[]) {
|
||||
|
||||
static_assert(b3 && b4 && b5 && b6, "");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user