3 #if __cplusplus > 199711L
7 operator T() = delete; // { dg-message "declared here" "" { target c++11 } }
8 operator bool() { return false; }
11 int ic1 = c1; // { dg-error "deleted" "" { target c++11 } }
12 int ac1 = c1 + c1; // { dg-error "deleted" "" { target c++11 } }
19 operator T(); // { dg-message "private" }
21 operator bool() { return false; }
24 int ic2 = c2; // { dg-error "" }
25 int ac2 = c2 + c2; // { dg-error "" }