aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr60797.c
blob: 0485b2de172fe47e8f18d6757b3df55ef987c5f3 (plain)
1
2
3
4
5
6
7
8
9
10
/* If there's support for symbol aliases, have to 'dg-skip-if' -- unless
   there's a way to disable this support.
   { dg-additional-options -mno-alias { target nvptx-*-* } }
   { dg-skip-if "" { { ! nvptx-*-* } && alias } } */

extern int foo __attribute__((alias("bar"))); /* { dg-error "supported" } */
int main()
{
  return 0;
}