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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
rv-cond1.C
blob
a8f598f17d46d1fd9c18373c986b2bd60cb76c45
1
// PR c++/58714
2
// { dg-do compile { target c++11 } }
3
4
struct X {
5
X& operator=(const X&) = delete;
6
X& operator=(X&& ) = default;
7
};
8
9
void f(bool t) {
10
X a, b;
11
*(t ? &a : &b) = X();
12
(t ? a : b) = X();
13
}