Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;
}