struct B { int m; }; namespace std { namespace decimal { struct decimal32 : public B {}; }} int main() {}
Standard input is empty
prog.cpp:5:12: error: type transparent class ‘std::decimal::decimal32’ has base classes
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!