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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist39.C
blob
169c063a39b1438bec08e0f0fd1264b4c0fc239e
1
// { dg-do compile { target c++11 } }
2
3
struct A { int i; };
4
5
void f (const A &);
6
void f (A &&);
7
8
void g (A, int);
9
void g (A, double);
10
11
int main()
12
{
13
f ( { 1 } );
14
g ( { 1 }, 1 );
15
}