fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct Foo {
  5. enum { A };
  6. };
  7.  
  8. struct Bar : Foo {
  9. Bar() = delete;
  10. decltype(A) list[1] = { A };
  11. };
  12.  
  13. int main() {
  14. // your code goes here
  15. return 0;
  16. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty