int test5_12457() { A a; const A ca = a; // { dg-error "deleted" } volatile A va; const volatile A cva = a; // { dg-error "deleted" } sink_5_12457(cv_source()); // { dg-error "" } return 0; }
int test5_12457() { A a; const A ca = a; volatile A va; const volatile A cva = a; sink_5_12457(cv_source()); // { dg-error "no match" } return 0; }
int test5_12457() { A a; const A ca = a; // { dg-error "deleted" } volatile A va; const volatile A cva = a; // { dg-error "deleted" } sink_5_12457(cv_source()); // { dg-error "no match" } // { dg-message "candidate" "candidate note" { target *-*-* } 228 } return 0; }
int test5_12457() { A a; const A ca = a; volatile A va; const volatile A cva = a; sa<sizeof(sink_5_12457(a)) == 1 * sizeof(long)> t1; sa<sizeof(sink_5_12457(ca)) == 2 * sizeof(long)> t2; sa<sizeof(sink_5_12457(va)) == 4 * sizeof(long)> t3; sa<sizeof(sink_5_12457(cva)) == 4 * sizeof(long)> t4; sa<sizeof(sink_5_12457(source())) == 5 * sizeof(long)> t5; sa<sizeof(sink_5_12457(c_source())) == 2 * sizeof(long)> t6; sa<sizeof(sink_5_12457(v_source())) == 7 * sizeof(long)> t7; return 0; }