We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 276b09f + f3df742 commit 24ece23Copy full SHA for 24ece23
testsuite/gnat2goto/tests/ukni_loop_parameter_specification/test.adb
@@ -0,0 +1,13 @@
1
+procedure Test is
2
+
3
+ type Unsigned_16 is mod 2 ** 16;
4
+ for Unsigned_16'Size use 16;
5
6
+ RAM_Start : constant Unsigned_16 := 16#0200#;
7
+ RAM_End : constant Unsigned_16 := 16#2199#;
8
9
+begin
10
+ for I in Unsigned_16 range RAM_Start .. RAM_End loop
11
+ pragma Assert (I < 16#2200#);
12
+ end loop;
13
+end Test;
testsuite/gnat2goto/tests/ukni_loop_parameter_specification/test.out
@@ -0,0 +1,2 @@
+[test.assertion.1] line 11 assertion I < 16#2200#: SUCCESS
+VERIFICATION SUCCESSFUL
testsuite/gnat2goto/tests/ukni_loop_parameter_specification/test.py
@@ -0,0 +1,3 @@
+from test_support import *
+prove()
0 commit comments