Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git] / test / FrontendAda / array_ref.adb
blob2bf4b7988d6d1e205f2ad4bc91b4ca9e01966faf
1 -- RUN: %llvmgcc -S %s
2 procedure Array_Ref is
3 type A is array (Natural range <>, Natural range <>) of Boolean;
4 type A_Access is access A;
5 function Get (X : A_Access) return Boolean is
6 begin
7 return X (0, 0);
8 end;
9 begin
10 null;
11 end;