source:
tests/const-ref.cfa@
3c1e432
| Last change on this file since 3c1e432 was 66e7cc1, checked in by , 10 months ago | |
|---|---|
|
|
| File size: 157 bytes | |
| Rev | Line | |
|---|---|---|
| [66e7cc1] | 1 | // A const reference binding should not work without warning. |
| 2 | int intref(int const & x) { | |
| 3 | return x; | |
| 4 | } | |
| 5 | ||
| 6 | int main() { | |
| 7 | printf("done\n"); | |
| 8 | return intref(0); | |
| 9 | } |
Note:
See TracBrowser
for help on using the repository browser.