URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [Wunused-var-5.c] - Rev 708
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-Wunused" } */ void f1 (void) { extern int extvari; extvari = 1; } int extvarj; void f2 (void) { extern int extvarj; extvarj = 1; } static int extvark; void f3 (void) { extern int extvark; extvark = 1; } int f4 (void) { return extvark; }
Go to most recent revision | Compare with Previous | Blame | View Log