URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [sizetype.adb] - Rev 304
Compare with Previous | Blame | View Log
-- { dg-do run } with Interfaces.C; use Interfaces.C; procedure Sizetype is TC_String : String(1..8) := "abcdefgh"; TC_No_nul : constant char_array := To_C(TC_String, False); begin if TC_No_nul(0) /= To_C('a') then raise Program_Error; end if; end;