Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/opt69.adb @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
-- { dg-do compile } -- { dg-options "-O" } with Ada.Text_IO; procedure Opt69 is procedure Inner (A : String := (1 .. 15 => ASCII.NUL); B : String := (1 .. 5 => ASCII.NUL); C : String := (1 .. 5 => ASCII.NUL)) is Aa : String (1 .. 15); Bb : String (1 .. 5); Cc : String (1 .. 5); begin Aa := A; Bb := B; Cc := C; Ada.Text_IO.Put_Line (Aa); Ada.Text_IO.Put_Line (Bb); Ada.Text_IO.Put_Line (Cc); end; begin Inner; end;