1 // PR c++/47080
2 // { dg-options -std=c++0x }
3 
4 struct A {
5   explicit operator int();	// { dg-message "qualification conversion" }
6 };
7 
main()8 int main() {
9   bool b((A()));		// { dg-error "invalid user-defined" }
10   !A();				// { dg-error "" }
11 }
12