source:
CIVL/examples/languageFeatures/lambdaBad.cvl
| Last change on this file was 5514bd7, checked in by , 15 months ago | |
|---|---|
|
|
| File size: 182 bytes | |
| Rev | Line | |
|---|---|---|
| [5514bd7] | 1 | |
| 2 | // the array type preceding $lambda should be complete. | |
| 3 | // this should produce a reasonable error message | |
| 4 | int main(void) { | |
| 5 | int a[] = (int[])$lambda(int i) i; | |
| 6 | $print(a, "\n"); | |
| 7 | } |
Note:
See TracBrowser
for help on using the repository browser.
