test_address_null_init.adb
来自「用于进行gcc测试」· ADB 代码 · 共 17 行
ADB
17 行
-- { 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 isbegin 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;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?