Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
static2.C
blob: e2ecd13c57277a3d19c5d83797a67a85b79d111d [
file
] [
log
] [
blame
]
// Origin: reichelt@igpm.rwth-aachen.de
// PR 5571
// { dg-options "-O2" }
template
<
class
T
>
struct
A
{};
struct
B
{
static
A
<int>
a
;
void
f
()
{
a
;
}
};
A
<int>
B
::
a
=
A
<int>
();