Issue error on "void" typed variable, function parameter, or struct member.
This commit is contained in:
5
tests_errors/void-2.ispc
Normal file
5
tests_errors/void-2.ispc
Normal file
@@ -0,0 +1,5 @@
|
||||
// Parameter with type "void" illegal in function parameter list
|
||||
|
||||
void func(void x, void y) {
|
||||
return x+y;
|
||||
}
|
||||
Reference in New Issue
Block a user