* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / explicit9.C
blob4afaafa26687677354d4c8f6c708de0064b2e5fc
1 // PR c++/65598
2 // { dg-do compile { target c++11 } }
4 struct ExplicitTest
6   explicit operator bool() const;
7 };
9 explicit ExplicitTest::operator bool() const  // { dg-error "1:'explicit' outside class declaration" }
11   return true;