OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-var-9.C
1
/* PR c++/44062 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wunused" } */
4
5
void
6
f ()
7
{
8
int i = 4;
9
static_cast <void> (i);
10
int j;
11
j = 5;
12
static_cast <void> (j);
13
}