Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wtype-limits2.C
blob: a46baad83978df25654486ddfc46f4b1455184e6 [
file
] [
log
] [
blame
]
// { dg-options -Wtype-limits }
unsigned
char
array
[
4
];
bool
b
;
#define
VAL
(
b
?
array
[
0
]
:
(
unsigned
char
)
0
)
int
main
()
{
if
(
VAL
>
1000
)
__builtin_abort
();
}