From fb149e4beb04d0e2661c84189635d103263a8fd4 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Fri, 7 Jul 2023 21:04:43 +0000 Subject: [libc] Use the new style includes for tests This is a follow up to D154529 covering tests. Differential Revision: https://reviews.llvm.org/D154746 --- libc/test/src/stdlib/_Exit_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/test/src/stdlib/_Exit_test.cpp') diff --git a/libc/test/src/stdlib/_Exit_test.cpp b/libc/test/src/stdlib/_Exit_test.cpp index e4a55bc29b35..af5cd23743f6 100644 --- a/libc/test/src/stdlib/_Exit_test.cpp +++ b/libc/test/src/stdlib/_Exit_test.cpp @@ -6,11 +6,12 @@ // //===----------------------------------------------------------------------===// -#include "include/stdlib.h" #include "src/stdlib/_Exit.h" #include "src/stdlib/exit.h" #include "test/UnitTest/Test.h" +#include + TEST(LlvmLibcStdlib, _Exit) { EXPECT_EXITS([] { __llvm_libc::_Exit(1); }, 1); EXPECT_EXITS([] { __llvm_libc::_Exit(65); }, 65); -- cgit v1.2.3