Home | History | Annotate | Download | only in dcl.init.ref

Lines Matching full:double

93   double d = 2.0; 
94 double& rd = d;
95 const double& rcd = d;
106 double& rd2 = 2.0; // expected-error{{non-const lvalue reference to type 'double' cannot bind to a temporary of type 'double'}}
108 double& rd3 = i; // expected-error{{non-const lvalue reference to type 'double' cannot bind to a value of unrelated type 'int'}}
123 const double& rcd2 = 2;
124 double&& rrd = 2;
128 double d;
129 double&& rrd2 = d; // expected-error{{rvalue reference to type 'double' cannot bind to lvalue of type 'double'}}
130 double&& rrd3 = i;