summaryrefslogtreecommitdiff
path: root/libc/test/src/stdlib/_Exit_test.cpp
diff options
context:
space:
mode:
authorJob Henandez Lara <jobhdezlara93@gmail.com>2024-11-01 21:49:57 -0700
committerGitHub <noreply@github.com>2024-11-01 21:49:57 -0700
commit33bdb53d864e3e244d8fd5649062f17b7d4c958d (patch)
tree0f55ed336b46c9bb2bc4e6f386b873d26e5d6643 /libc/test/src/stdlib/_Exit_test.cpp
parent3fb4b6f0521c923fd3b925106b12847ccf40864c (diff)
[libc] Remove the #include <stdlib.h> header (#114453)
Diffstat (limited to 'libc/test/src/stdlib/_Exit_test.cpp')
-rw-r--r--libc/test/src/stdlib/_Exit_test.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/test/src/stdlib/_Exit_test.cpp b/libc/test/src/stdlib/_Exit_test.cpp
index 9ca0fc51aab8..333277dc01dc 100644
--- a/libc/test/src/stdlib/_Exit_test.cpp
+++ b/libc/test/src/stdlib/_Exit_test.cpp
@@ -10,8 +10,6 @@
#include "src/stdlib/exit.h"
#include "test/UnitTest/Test.h"
-#include <stdlib.h>
-
TEST(LlvmLibcStdlib, _Exit) {
EXPECT_EXITS([] { LIBC_NAMESPACE::_Exit(1); }, 1);
EXPECT_EXITS([] { LIBC_NAMESPACE::_Exit(65); }, 65);