Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template12.C
blob: 5b87f429e8a830c6bf30ead500ecebb4fff6c0b6 [
file
] [
log
] [
blame
]
// PR c++/58753
// { dg-do compile { target c++11 } }
#include
<initializer_list>
template
<
class
T
>
struct
X
{
X
(
std
::
initializer_list
<int>
)
{}};
template
<
class
zomg
>
class
T
{
X
<
T
>
x
{
1
};
};
int
main
()
{
T
<int>
t
;
}