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