Issue error on "void" typed variable, function parameter, or struct member.

This commit is contained in:
Matt Pharr
2012-02-06 07:44:45 -08:00
parent fa7a7fe23e
commit 977b983771
10 changed files with 56 additions and 1 deletions

5
tests_errors/void-2.ispc Normal file
View File

@@ -0,0 +1,5 @@
// Parameter with type "void" illegal in function parameter list
void func(void x, void y) {
return x+y;
}