fork download
  1. class ResultsManager
  2. {
  3. /////////////////////////////////////////////////////////////////////////////////
  4. struct
  5. {
  6. //**************************************************
  7. struct School
  8. {
  9. //------------------------
  10. struct User
  11. {
  12. };
  13. };
  14. };
  15. };
  16.  
  17.  
  18. int main() {}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:7:20: error: ‘struct ResultsManager::<anonymous struct>::School’ invalid; an anonymous struct can only have non-static data members [-fpermissive]
stdout
Standard output is empty