Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
);
}