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
/
initlist23.C
blob
7e73df06e18e948a20fa85ba15d95ec6e8dc2dbd
1
// { dg-do compile { target c++11 } }
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
}