ispc/ispc — Issue #137: Should allow assignment to references returned by functions
Author: mmp
Created: 2011-12-15 16:38:45+00:00
State: open
Labels: bugs

This code currently causes the compiler to issue an error; it should be allowed (and work):

```
int x;

int &foo() {return x;}

int bar(){ foo() = 2; }
```