Further improvements to error reporting with function types.

Issue #219.
This commit is contained in:
Matt Pharr
2012-04-03 05:55:50 -07:00
parent 920cf63201
commit eb85da81e1
3 changed files with 14 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
// Can't convert between incompatible pointer types
// Can't convert from pointer type "void * varying" to incompatible pointer type "uniform int32 * varying" for return statement
int *foo(void *p) {
return p;