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++/51107
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist23.C
1
// { dg-options "-std=c++0x" }
2
3
#include <initializer_list>
4
5
struct A
6
{
7
A& operator=(int i);
8
A& operator=(std::initializer_list<int> l) { return *this; }
9
};
10
11
int main()
12
{
13
A a;
14
a = { };
15
}