gcc/testsuite/gcc.dg/pr60797.c
raw| 1 | /* If there's support for symbol aliases, have to 'dg-skip-if' -- unless |
| 2 | there's a way to disable this support. |
| 3 | { dg-additional-options -mno-alias { target nvptx-*-* } } |
| 4 | { dg-skip-if "" { { ! nvptx-*-* } && alias } } */ |
| 5 | |
| 6 | extern int foo __attribute__((alias("bar"))); /* { dg-error "supported" } */ |
| 7 | int main() |
| 8 | { |
| 9 | return 0; |
| 10 | } |