19abcca5eSRoland McGrath //===-- C standard library header test_small-------------------------------===// 29abcca5eSRoland McGrath // 39abcca5eSRoland McGrath // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 49abcca5eSRoland McGrath // See https://llvm.org/LICENSE.txt for license information. 59abcca5eSRoland McGrath // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 69abcca5eSRoland McGrath // 79abcca5eSRoland McGrath //===----------------------------------------------------------------------===// 89abcca5eSRoland McGrath 99abcca5eSRoland McGrath #ifndef LLVM_LIBC_TEST_SMALL_H 109abcca5eSRoland McGrath #define LLVM_LIBC_TEST_SMALL_H 119abcca5eSRoland McGrath 129abcca5eSRoland McGrath #include "__llvm-libc-common.h" 139abcca5eSRoland McGrath #include "llvm-libc-macros/float16-macros.h" 149abcca5eSRoland McGrath #include "llvm-libc-macros/test_small-macros.h" 159abcca5eSRoland McGrath #include "llvm-libc-types/float128.h" 169abcca5eSRoland McGrath 179abcca5eSRoland McGrath #define MACRO_A 1 189abcca5eSRoland McGrath 199abcca5eSRoland McGrath #define MACRO_B 2 209abcca5eSRoland McGrath 219abcca5eSRoland McGrath #include <llvm-libc-types/type_a.h> 229abcca5eSRoland McGrath #include <llvm-libc-types/type_b.h> 239abcca5eSRoland McGrath 249abcca5eSRoland McGrath enum { 259abcca5eSRoland McGrath enum_a = value_1, 269abcca5eSRoland McGrath enum_b = value_2, 279abcca5eSRoland McGrath }; 289abcca5eSRoland McGrath 299abcca5eSRoland McGrath __BEGIN_C_DECLS 309abcca5eSRoland McGrath 31*906cbbbdSRoland McGrath CONST_FUNC_A void func_a(void) __NOEXCEPT; 329abcca5eSRoland McGrath 339abcca5eSRoland McGrath #ifdef LIBC_TYPES_HAS_FLOAT128 34*906cbbbdSRoland McGrath float128 func_b(void) __NOEXCEPT; 359abcca5eSRoland McGrath #endif // LIBC_TYPES_HAS_FLOAT128 369abcca5eSRoland McGrath 379abcca5eSRoland McGrath #ifdef LIBC_TYPES_HAS_FLOAT16 389abcca5eSRoland McGrath _Float16 func_c(int, float) __NOEXCEPT; 399abcca5eSRoland McGrath 409abcca5eSRoland McGrath _Float16 func_d(int, float) __NOEXCEPT; 419abcca5eSRoland McGrath #endif // LIBC_TYPES_HAS_FLOAT16 429abcca5eSRoland McGrath 439abcca5eSRoland McGrath #ifdef LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 449abcca5eSRoland McGrath _Float16 func_e(float128) __NOEXCEPT; 459abcca5eSRoland McGrath #endif // LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 469abcca5eSRoland McGrath 479abcca5eSRoland McGrath extern obj object_1; 489abcca5eSRoland McGrath extern obj object_2; 499abcca5eSRoland McGrath 509abcca5eSRoland McGrath __END_C_DECLS 519abcca5eSRoland McGrath 529abcca5eSRoland McGrath #endif // LLVM_LIBC_TEST_SMALL_H 53