Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ10.C
blob: ece2eb28027558445f3e64e8d4f6b0d3d9080872 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++14 } }
template
<
class
T
>
struct
Y
{
template
<
class
U
>
static
U x
;
};
template
<
class
T
>
template
<
class
U
>
U Y
<
T
>::
x
=
U
();
int
main
()
{
int
y
=
Y
<int>
::
x
<int>
;
}