blob: ff863ecd999b9872968ceec88e1f8d982932a214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//===-- Unittests for assert ----------------------------------------------===//
//
// 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 "include/llvm-libc-macros/assert-macros.h"
#include "test/UnitTest/Test.h"
TEST(LlvmLibcAssertTest, VersionMacro) {
// 7.2p3 an integer constant expression with a value equivalent to 202311L.
EXPECT_EQ(__STDC_VERSION_ASSERT_H__, 202311L);
}
|