cmake
tests
is_char_signed.cpp
Go to the documentation of this file.
1
11
/*****************************************************************************
12
** Includes
13
*****************************************************************************/
14
15
#include <iostream>
16
#include <climits>
17
18
/*****************************************************************************
19
** Main
20
*****************************************************************************/
21
22
int
main
(
int
argc,
char
**argv) {
23
24
char
c = -1;
25
if
( (CHAR_MIN == SCHAR_MIN) && (CHAR_MAX == SCHAR_MAX) ) {
26
std::cout <<
"signed"
;
27
}
else
{
28
std::cout <<
"unsigned"
;
29
}
30
return
0;
31
}
32
33
main
int main(int argc, char **argv)
Definition:
is_char_signed.cpp:22
ecl_build
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:56