Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
ctor2.C
blob: 1c8d8a65d9b1740a4154fadedc8e6625e8616762 [
file
] [
log
] [
blame
]
// { dg-do run }
int
i
;
template
<
class
T
>
struct
S
{
S
()
{
i
=
1
;
}
};
static
S
<int>
s
[
1
];
int
main
()
{
if
(!
i
)
return
1
;
}