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