forked from OSchip/llvm-project
[libc++] Add `return 0` to some main() functions
This unbreaks the tests when running in freestanding mode.
This commit is contained in:
parent
73205feb00
commit
c31cf74c3c
|
@ -259,4 +259,5 @@ constexpr bool test() {
|
|||
int main(int, char**) {
|
||||
test();
|
||||
static_assert(test());
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -69,4 +69,5 @@ constexpr bool test() {
|
|||
int main(int, char**) {
|
||||
test();
|
||||
static_assert(test());
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -202,4 +202,5 @@ constexpr bool test() {
|
|||
int main(int, char**) {
|
||||
test();
|
||||
static_assert(test());
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue