repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template12.C
blob
5b87f429e8a830c6bf30ead500ecebb4fff6c0b6
1
// PR c++/58753
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
template <class T>
7
struct X {X(std::initializer_list<int>) {}};
8
9
template <class zomg>
10
class T {
11
X<T> x{1};
12
};
13
14
int main()
15
{
16
T<int> t;
17
}