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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wunused-function-1.c
blob
9f856952b2e216a1f8cbc1dd6ca7b2fa4853778c
1
/* PR c++/64079 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wunused-function" } */
4
5
#pragma GCC diagnostic push
6
#pragma GCC diagnostic ignored
"-Wunused-function"
7
8
static void
bar
() {}
9
10
#pragma GCC diagnostic pop