Files
ispc/tests_errors/new-delete-5.ispc
2012-01-27 14:47:06 -08:00

6 lines
133 B
Plaintext

// Illegal to provide "varying" allocation count with "uniform new" expression
int * func(int x) {
return uniform new int[x];
}