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
/
initlist18.C
blob
bcf90c83a0cec87d604304b472ed1fa36d3b14a9
1
// PR c++/40308, 40311
2
// { dg-do run { target c++11 } }
3
4
template< typename T >
5
struct test {
6
test() : data{} {}
7
8
T data;
9
};
10
11
int main()
12
{
13
test<int> x;
14
test<int*> y;
15
int * a = new int{};
16
int * b = new int{5};
17
return 0;
18
}