5
tests_errors/new-delete-6.ispc
Normal file
5
tests_errors/new-delete-6.ispc
Normal file
@@ -0,0 +1,5 @@
|
||||
// Can't convert from varying type "int32 *" to uniform type "int32 * uniform" for return
|
||||
|
||||
int * uniform func(int x) {
|
||||
return new int[x];
|
||||
}
|
||||
Reference in New Issue
Block a user