repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
pragma-isr2.c
blob
7dba7f9bf614651549f1807c1a5f9ff6c193632f
1
/* { dg-do compile { target h8300-*-* sh-*-* sh[1234ble]*-*-*} } */
2
/* { dg-options "-O" } */
3
/* This test case will check whether rte is generated only for isr. */
4
#pragma interrupt
5
void
isr
()
6
{
7
}
8
void
delay
(
int
a
)
9
{
10
}
11
int
main
()
12
{
13
return
0
;
14
}
15
16
/* { dg-final { scan-assembler-times "rte" 1} } */