gcc/testsuite/gcc.target/sh/pr61996.c
raw| 1 | /* Check that the option -musermode has no effect on targets that do not |
| 2 | support user/privileged mode and that it does not interfere with option |
| 3 | -matomic-model=soft-imask. */ |
| 4 | /* { dg-do compile { target { ! has_privileged } } } */ |
| 5 | /* { dg-options "-matomic-model=soft-imask" } */ |
| 6 | |
| 7 | int |
| 8 | test (void) |
| 9 | { |
| 10 | return 0; |
| 11 | } |