Advertisement
przemko

Kot Schrödingera

Dec 7th, 2024 (edited)
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 0.21 KB | Source Code | 0 0
  1. procedure Schrodinger with SPARK_Mode, No_Return is
  2.    Cat_Is_Alive : Boolean := False with Ghost;
  3. begin
  4.    loop
  5.       null;
  6.    end loop;
  7.    pragma Assert (Cat_Is_Alive and not Cat_Is_Alive);
  8. end Schrodinger;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement