repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge with main truk.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wunused-var-11.c
blob
a59ef8149386e973bed51198fbe9bef5a8bfe612
1
/* PR c++/44443 */
2
/* { dg-options "-Wunused" } */
3
/* { dg-do compile } */
4
5
int
i
;
6
7
void
8
f1
()
9
{
10
const int
*
__attribute__
((
unused
))
a
= &
i
;
11
const int
*
b
__attribute__
((
unused
)) = &
i
;
12
}