Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template18.C
blob: f5a4755e8c3af1edce33e81fc731b0d603733b4a [
file
] [
log
] [
blame
]
// { dg-do link }
// Origin: Andrey Slepuhin <pooh@msu.ru>
namespace
A
{
int
j
;
template
<
typename
val_t
>
struct
X
{
inline
X
()
{
extern
int
j
;
i
=
j
;
}
int
i
;
};
}
int
main
()
{
A
::
X
<int>
x
;
}