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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-default.C
blob
33b27a54041d9dabce57a35e3f23d415182e8c08
1
// PR c++/49205
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct A {
7
template<typename ...T> A(T...);
8
A(std::initializer_list<short>);
9
A(std::initializer_list<long>);
10
};
11
12
A a{};