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.
1 parent 75caf25 commit f2356d1Copy full SHA for f2356d1
testsuite/gnat2goto/tests/representation_clause_address/test.adb
@@ -1,4 +1,4 @@
1
-with System;
+with System; use System;
2
3
procedure Test is
4
-- A 32 bit hardware register
@@ -8,4 +8,5 @@ procedure Test is
8
begin
9
Device_Input_Value := 5;
10
pragma Assert (Device_Input_Value + 1 = 6);
11
+ pragma Assert (Device_Input_Value'Address = System'To_Address (16#8000_05C4#));
12
end Test;
testsuite/gnat2goto/tests/representation_clause_address/test.out
@@ -1,2 +1,3 @@
[1] file test.adb line 10 assertion: SUCCESS
+[2] file test.adb line 11 assertion: SUCCESS
VERIFICATION SUCCESSFUL
0 commit comments