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/] [uninit_func.adb] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
-- { dg-do compile } -- { dg-options "-O -Wall" } function uninit_func (A, B : Boolean) return Boolean is C : Boolean; -- { dg-warning "may be used uninitialized" } begin if A then C := False; elsif B then C := True; end if; return C; end;
Go to most recent revision | Compare with Previous | Blame | View Log