OpenCores
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/] [test_version.adb] - Rev 310

Go to most recent revision | Compare with Previous | Blame | View Log

-- { dg-do run }
with GNAT.Compiler_Version;
procedure Test_Version is
   package Vsn is new GNAT.Compiler_Version;
   use Vsn;
   X : constant String := Version;
begin
   if X'Length = 78 then
      -- 78 = Ver_Len_Max + Ver_Prefix'Length
      -- actual version should be shorter than this
      raise Program_Error;
   end if;
end Test_Version;
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.