| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options -mno-soft-stack } */ |
| 3 |
/* { dg-additional-options -march=sm_30 } */ |
| 4 |
|
| 5 |
void sink(void *); |
| 6 |
|
| 7 |
void f(int s) |
| 8 |
{ |
| 9 |
char a[s]; |
| 10 |
/* { dg-message {sorry, unimplemented: dynamic stack allocation not supported} {} { target *-*-* } .-1 } */ |
| 11 |
sink(a); |
| 12 |
} |