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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist39.C
1
// { dg-options -std=c++0x }
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
}