Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wtype-limits6.C
blob: 9d5886d532373f19de02459341646d3d90cecdd1 [
file
] [
log
] [
blame
]
// PR c++/100161
// { dg-additional-options "-Wtype-limits" }
void
f
(
unsigned
);
template
<
unsigned
n
>
void
g
()
{
for
(
unsigned
i
=
0
;
i
<
n
;
i
++)
{
// { dg-bogus "always false" }
f
(
i
);
}
}
void
h
()
{
g
<
0
>();
}