URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gnat.dg/] [uninit_func.adb] - Rev 384
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;