Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
local3.C
blob: 6c0fe4573e05ef6749eb9e6cad02ee3dcf61a185 [
file
] [
log
] [
blame
]
// { dg-do run }
extern
"C"
void
abort
();
template
<
class
T
>
void
f
(
T
)
{
int
j
;
j
=
6
;
struct
S
{
int
i
;
};
S s
;
s
.
i
=
j
;
if
(
s
.
i
!=
6
)
abort
();
}
int
main
()
{
f
(
7
);
}