repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist35.C
blob
f8b824d4562028457460e6a35d3ad3fd4670446c
1
// PR c++/41510
2
// { dg-do compile { target c++11 } }
3
4
struct B
5
{
6
B(int, int);
7
};
8
struct A
9
{
10
A(int, int);
11
A(const B&);
12
};
13
14
void f()
15
{
16
A a = { 1, 2 };
17
}
18
19
template <class T> void g()
20
{
21
A a = { 1, 2 };
22
}
23
24
template void g<int>();