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
/
gcc.dg
/
attr-unavailable-3.c
blob
7274c193f3fb9b1d31a8ab3bf549b9e148a5de7f
1
/* Test __attribute__((unavailable)). */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
5
void
func
(
void
);
6
void
func
(
void
)
__attribute__
((
unavailable
));
7
8
void
f
(
void
) {
9
func
();
/* { dg-error "'func' is unavailable" } */
10
}