| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-add-options nvptx_alias_ptx } */ |
| 3 |
|
| 4 |
void __f () |
| 5 |
{ |
| 6 |
} |
| 7 |
|
| 8 |
void f () __attribute__ ((weak, alias ("__f"))); |
| 9 |
/* { dg-error {weak alias definitions not supported} {} { target *-*-* } .-1 } |
| 10 |
(limitation of PTX). */ |