Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.bob
/
template4.C
blob: 13a150d5ec1498a85068618716a6987a72d60094 [
file
] [
log
] [
blame
]
// { dg-do run }
// prms-id: 10166
template
<
class
A
>
class
B
{
public
:
int
f
()
{
for
(
int
x
=
0
;
x
<
10
;
x
++)
{
continue
;
return
1
;
}
return
0
;
}
private
:
A w
;
};
int
main
()
{
B
<int>
c
;
return
c
.
f
();
}