URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [trampoline1.adb] - Rev 304
Compare with Previous | Blame | View Log
-- { dg-do compile } -- { dg-options "-gnatws" } with System; use System; procedure Trampoline1 is A : Integer; function F (I : Integer) return Integer is begin return A + I; end F; CA : System.Address := F'Code_Address; begin if CA = System.Null_Address then raise Program_Error; end if; end; -- { dg-final { scan-assembler-not "GNU-stack.*x" } }