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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
temp-constructor-bug.C
blob
9d8a3bd8be8d25749dc4ac1b110a4dfbaa550031
1
// { dg-do compile { target c++11 } }
2
// { dg-options "" }
3
4
struct S { };
5
6
struct T
7
{
8
S s;
9
};
10
11
void f(T const &);
12
13
void g()
14
{
15
f((T){S()});
16
}