RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gnat.dg / volatile13.adb
blobeb0f5f60b2451f5a08d20fe79b539e8b72e15152
1 -- { dg-do compile }
3 package body Volatile13 is
5 procedure Compute_Index_Map (Self : Shared_String) is
6 Map : Index_Map_Access := Self.Index_Map;
7 begin
8 Map := new Index_Map (Self.Length);
9 end;
11 end Volatile13;