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/] [protected_self_ref2.adb] - Rev 414
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