Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wtype-limits5.C
blob: 5e79123b622fbb257e6af69585ac1636dcb49bdb [
file
] [
log
] [
blame
]
// PR c++/96742
// { dg-additional-options "-Wtype-limits" }
template
<
unsigned
N
>
bool
f
(
unsigned
x
)
{
return
unsigned
(
x
<
N
);
}
int
main
()
{
f
<
0
>(
1
);
}