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