simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / explicit6.C
blob18f31b42d594c707e30e6d5a09ce75173dea57cf
1 // PR c++/47080
2 // { dg-options "" }
3 // { dg-do compile { target c++11 } }
5 struct A {
6   explicit operator int();      // { dg-message "qualification conversion" }
7 };
9 int main() {
10   bool b((A()));                // { dg-error "invalid user-defined" }
11   !A();                         // { dg-error "" }