OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [wide_test.adb] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do run }
2
-- { dg-options "-gnatW8" }
3
 
4
procedure wide_test is
5
   X  : constant Wide_Character := 'Я';
6
 
7
begin
8
   declare
9
      S3 : constant Wide_String := (''', X, ''');
10
      X3 :           Wide_Character;
11
   begin
12
      X3 := Wide_Character'Wide_Value (S3);
13
 
14
      if X /= X3 then
15
         raise Program_Error;
16
      end if;
17
   end;
18
end;

powered by: WebSVN 2.1.0

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