]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - tests/GCCTestSuite/pragma-isr2.c
Imported Upstream version 0.2
[pkg-cerco/acc.git] / tests / GCCTestSuite / pragma-isr2.c
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} } */