Summary: Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers. And did the same for all source files top of file comments. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D77533
17 lines
559 B
C++
17 lines
559 B
C++
//===-- Unittests for errno -----------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "src/errno/llvmlibc_errno.h"
|
|
#include "utils/UnitTest/Test.h"
|
|
|
|
TEST(ErrnoTest, Basic) {
|
|
int test_val = 123;
|
|
llvmlibc_errno = test_val;
|
|
ASSERT_EQ(test_val, llvmlibc_errno);
|
|
}
|