15a83710eSEric Fiselier //===----------------------------------------------------------------------===// 25a83710eSEric Fiselier // 357b08b09SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 457b08b09SChandler Carruth // See https://llvm.org/LICENSE.txt for license information. 557b08b09SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 65a83710eSEric Fiselier // 75a83710eSEric Fiselier //===----------------------------------------------------------------------===// 85a83710eSEric Fiselier 95a83710eSEric Fiselier // test climits 105a83710eSEric Fiselier 115a83710eSEric Fiselier #include <climits> 125a83710eSEric Fiselier 13*7fc6a556SMarshall Clow #include "test_macros.h" 14*7fc6a556SMarshall Clow 155a83710eSEric Fiselier #ifndef CHAR_BIT 165a83710eSEric Fiselier #error CHAR_BIT not defined 175a83710eSEric Fiselier #endif 185a83710eSEric Fiselier 195a83710eSEric Fiselier #ifndef SCHAR_MIN 205a83710eSEric Fiselier #error SCHAR_MIN not defined 215a83710eSEric Fiselier #endif 225a83710eSEric Fiselier 235a83710eSEric Fiselier #ifndef SCHAR_MAX 245a83710eSEric Fiselier #error SCHAR_MAX not defined 255a83710eSEric Fiselier #endif 265a83710eSEric Fiselier 275a83710eSEric Fiselier #ifndef UCHAR_MAX 285a83710eSEric Fiselier #error UCHAR_MAX not defined 295a83710eSEric Fiselier #endif 305a83710eSEric Fiselier 315a83710eSEric Fiselier #ifndef CHAR_MIN 325a83710eSEric Fiselier #error CHAR_MIN not defined 335a83710eSEric Fiselier #endif 345a83710eSEric Fiselier 355a83710eSEric Fiselier #ifndef CHAR_MAX 365a83710eSEric Fiselier #error CHAR_MAX not defined 375a83710eSEric Fiselier #endif 385a83710eSEric Fiselier 395a83710eSEric Fiselier #ifndef MB_LEN_MAX 405a83710eSEric Fiselier #error MB_LEN_MAX not defined 415a83710eSEric Fiselier #endif 425a83710eSEric Fiselier 435a83710eSEric Fiselier #ifndef SHRT_MIN 445a83710eSEric Fiselier #error SHRT_MIN not defined 455a83710eSEric Fiselier #endif 465a83710eSEric Fiselier 475a83710eSEric Fiselier #ifndef SHRT_MAX 485a83710eSEric Fiselier #error SHRT_MAX not defined 495a83710eSEric Fiselier #endif 505a83710eSEric Fiselier 515a83710eSEric Fiselier #ifndef USHRT_MAX 525a83710eSEric Fiselier #error USHRT_MAX not defined 535a83710eSEric Fiselier #endif 545a83710eSEric Fiselier 555a83710eSEric Fiselier #ifndef INT_MIN 565a83710eSEric Fiselier #error INT_MIN not defined 575a83710eSEric Fiselier #endif 585a83710eSEric Fiselier 595a83710eSEric Fiselier #ifndef INT_MAX 605a83710eSEric Fiselier #error INT_MAX not defined 615a83710eSEric Fiselier #endif 625a83710eSEric Fiselier 635a83710eSEric Fiselier #ifndef UINT_MAX 645a83710eSEric Fiselier #error UINT_MAX not defined 655a83710eSEric Fiselier #endif 665a83710eSEric Fiselier 675a83710eSEric Fiselier #ifndef LONG_MIN 685a83710eSEric Fiselier #error LONG_MIN not defined 695a83710eSEric Fiselier #endif 705a83710eSEric Fiselier 715a83710eSEric Fiselier #ifndef LONG_MAX 725a83710eSEric Fiselier #error LONG_MAX not defined 735a83710eSEric Fiselier #endif 745a83710eSEric Fiselier 755a83710eSEric Fiselier #ifndef ULONG_MAX 765a83710eSEric Fiselier #error ULONG_MAX not defined 775a83710eSEric Fiselier #endif 785a83710eSEric Fiselier 795a83710eSEric Fiselier #ifndef LLONG_MIN 805a83710eSEric Fiselier #error LLONG_MIN not defined 815a83710eSEric Fiselier #endif 825a83710eSEric Fiselier 835a83710eSEric Fiselier #ifndef LLONG_MAX 845a83710eSEric Fiselier #error LLONG_MAX not defined 855a83710eSEric Fiselier #endif 865a83710eSEric Fiselier 875a83710eSEric Fiselier #ifndef ULLONG_MAX 885a83710eSEric Fiselier #error ULLONG_MAX not defined 895a83710eSEric Fiselier #endif 905a83710eSEric Fiselier main(int,char **)912df59c50SJF Bastienint main(int, char**) 925a83710eSEric Fiselier { 932df59c50SJF Bastien 942df59c50SJF Bastien return 0; 955a83710eSEric Fiselier } 96