diff options
Diffstat (limited to 'gcc/testsuite/gnat.dg/volatile2.ads')
-rw-r--r-- | gcc/testsuite/gnat.dg/volatile2.ads | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/volatile2.ads b/gcc/testsuite/gnat.dg/volatile2.ads new file mode 100644 index 000000000..0f7ed071c --- /dev/null +++ b/gcc/testsuite/gnat.dg/volatile2.ads @@ -0,0 +1,16 @@ +with volatile1; use volatile1; + +package volatile2 is + + type PData_Array is access Data_Array; + + type Result_Desc is + record + Data : PData_Array; + end record; + + type Result is access Result_Desc; + + procedure Copy; + +end volatile2; |