fork download
  1. #include <iostream>
  2.  
  3. void foo()
  4. {
  5. volatile bool a;
  6. std::cout << (a == true) << std::endl;
  7. }
  8.  
  9. void bar()
  10. {
  11. volatile int n = 0x12345678;
  12. }
  13.  
  14. int main() {
  15. bar();
  16. foo();
  17. }
  18.  
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
8