fork download
  1. struct B { int m; };
  2.  
  3. namespace std {
  4. namespace decimal {
  5. struct decimal32 : public B {};
  6. }
  7. }
  8.  
  9. int main() {}
Compilation error #stdin compilation error #stdout 0s 2892KB
stdin
Standard input is empty
compilation info
prog.cpp:5:12: error: type transparent class ‘std::decimal::decimal32’ has base classes
stdout
Standard output is empty