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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [atomic1.ads] - Rev 696

Compare with Previous | Blame | View Log

-- { dg-do compile }
 
package Atomic1 is
 
  type Arr is array (Integer range <>) of Boolean;
  type UA is access all Arr;
 
  U : UA;
  pragma Atomic (U);  -- { dg-error "atomic access" }
 
  type R is record
    U : UA;
    pragma Atomic (U);  -- { dg-error "atomic access" }
  end record;
 
end Atomic1;
 

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.