fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class Test {
  5. public:
  6. const int a; //
  7. int& b;
  8. };
  9.  
  10. int main() {
  11. int b;
  12. Test t = {5, b};
  13. return 0;
  14. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty