fork(6) download
  1. #include <iostream>
  2.  
  3. constexpr alignas(sizeof(7777)) const thread_local volatile struct override
  4. {
  5. constexpr const static auto volatile and final = 7777;
  6. inline virtual compl override() noexcept final = default;
  7. }* override = nullptr;
  8.  
  9. int main() {
  10. std::cout << override->final << '\n';
  11. return 0;
  12. }
Success #stdin #stdout 0s 4500KB
stdin
Standard input is empty
stdout
7777