File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1- // ===-- Unittests for _Exit -----------------------------------------------===//
1+ // ===-- Unittests for exit -----------------------------------------------===//
22//
33// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44// See https://llvm.org/LICENSE.txt for license information.
55// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66//
77// ===----------------------------------------------------------------------===//
88
9- #include " src/stdlib/_Exit.h"
109#include " src/stdlib/exit.h"
1110#include " test/UnitTest/Test.h"
1211
13- TEST (LlvmLibcStdlib, _Exit) {
14- EXPECT_EXITS ([] { LIBC_NAMESPACE::_Exit (1 ); }, 1 );
15- EXPECT_EXITS ([] { LIBC_NAMESPACE::_Exit (65 ); }, 65 );
16-
12+ TEST (LlvmLibcStdlib, exit) {
1713 EXPECT_EXITS ([] { LIBC_NAMESPACE::exit (1 ); }, 1 );
1814 EXPECT_EXITS ([] { LIBC_NAMESPACE::exit (65 ); }, 65 );
1915}
You can’t perform that action at this time.
0 commit comments