int test1_8() { A a; const A ca; volatile A va; const volatile A cva; sa<sizeof(sink_1_8(source())) == 8 * sizeof(long)> t5; sa<sizeof(sink_1_8(c_source())) == 8 * sizeof(long)> t6; sa<sizeof(sink_1_8(v_source())) == 8 * sizeof(long)> t7; sa<sizeof(sink_1_8(cv_source())) == 8 * sizeof(long)> t8; return 0; }
int test1_8() { A a; const A ca = a; // { dg-error "deleted" } volatile A va; const volatile A cva = a; // { dg-error "deleted" } sink_1_8(a); // { dg-error "lvalue" } sink_1_8(ca); // { dg-error "lvalue" } sink_1_8(va); // { dg-error "lvalue" } sink_1_8(cva); // { dg-error "lvalue" } return 0; }
int test1_8() { A a; const A ca = a; volatile A va; const volatile A cva = a; sa<sizeof(sink_1_8(a)) == 8> t1; sa<sizeof(sink_1_8(ca)) == 8> t2; sa<sizeof(sink_1_8(va)) == 8> t3; sa<sizeof(sink_1_8(cva)) == 8> t4; sa<sizeof(sink_1_8(source())) == 8> t5; sa<sizeof(sink_1_8(c_source())) == 8> t6; sa<sizeof(sink_1_8(v_source())) == 8> t7; sa<sizeof(sink_1_8(cv_source())) == 8> t8; return 0; }