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

8 lines
117 B
Plaintext

// Type conversion only possible from atomic types
struct P { int x; };
int * func(P p) {
return new int[p];
}