Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/test_address_null_init.adb @ 140:4e440907fcbf
copy CbC goto flang in cfgexpand
remove some CbC unnecessary code
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Nov 2018 00:24:45 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { dg-do run } -- { dg-options "-gnatws" } with Address_Null_Init; use Address_Null_Init; with Ada.Text_IO; use Ada.Text_IO; procedure Test_Address_Null_Init is begin if B /= null then Put_Line ("ERROR: B was not default initialized to null!"); end if; if A /= null then Put_Line ("ERROR: A was not reinitialized to null!"); end if; end Test_Address_Null_Init;