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