blob: 18f31b42d594c707e30e6d5a09ce75173dea57cf [file] [log] [blame]
// PR c++/47080
// { dg-options "" }
// { dg-do compile { target c++11 } }
struct A {
explicit operator int(); // { dg-message "qualification conversion" }
};
int main() {
bool b((A())); // { dg-error "invalid user-defined" }
!A(); // { dg-error "" }
}