source: tests/const-ref.cfa@ 119889f

Last change on this file since 119889f was 66e7cc1, checked in by Andrew Beach <ajbeach@…>, 9 months ago

Added some tests for recent changes to the resolver.

  • Property mode set to 100644
File size: 157 bytes
RevLine 
[66e7cc1]1// A const reference binding should not work without warning.
2int intref(int const & x) {
3 return x;
4}
5
6int main() {
7 printf("done\n");
8 return intref(0);
9}
Note: See TracBrowser for help on using the repository browser.