URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [protected_self_ref2.adb] - Rev 816
Go to most recent revision | Compare with Previous | Blame | View Log
-- { dg-do compile } procedure Protected_Self_Ref2 is protected type P is procedure Foo; end P; protected body P is procedure Foo is D : Integer; begin D := P'Digits; -- { dg-error "denotes current instance" } end; end P; begin null; end Protected_Self_Ref2;
Go to most recent revision | Compare with Previous | Blame | View Log