Issue error if "typedef" is inadvertently included in function definition.
Issue #267.
This commit is contained in:
4
tests_errors/func-def-with-typedef.ispc
Normal file
4
tests_errors/func-def-with-typedef.ispc
Normal file
@@ -0,0 +1,4 @@
|
||||
// Illegal "typedef" provided with function definition
|
||||
|
||||
typedef float foo(float a, float b) { }
|
||||
|
||||
Reference in New Issue
Block a user