OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/51406
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist48.C
1
// PR c++/48726
2
// { dg-options -std=c++0x }
3
4
#include <memory>
5
6
struct Foo{
7
int i;
8
};
9
typedef std::unique_ptr<Foo> up;
10
11
std::initializer_list<up> il{up{new Foo}, up{new Foo}};