(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
msp430/
critical-interrupt.c
       1  /* { dg-do compile } */
       2  /* { dg-final { scan-assembler-not "attributes.*critical" } } */
       3  
       4  void __attribute__((interrupt,critical))
       5  fn1 (void)
       6  { /* { dg-warning "critical attribute has no effect on interrupt functions" } */
       7  }
       8  
       9  void __attribute__((critical,interrupt))
      10  fn2 (void)
      11  { /* { dg-warning "critical attribute has no effect on interrupt functions" } */
      12  }