diff options
Diffstat (limited to 'test/FrontendAda/array_ref.adb')
-rw-r--r-- | test/FrontendAda/array_ref.adb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/FrontendAda/array_ref.adb b/test/FrontendAda/array_ref.adb new file mode 100644 index 0000000..9577e21 --- /dev/null +++ b/test/FrontendAda/array_ref.adb @@ -0,0 +1,11 @@ +-- RUN: %llvmgcc -c %s +procedure Array_Ref is + type A is array (Natural range <>, Natural range <>) of Boolean; + type A_Access is access A; + function Get (X : A_Access) return Boolean is + begin + return X (0, 0); + end; +begin + null; +end; |