source:
doc/proposals/modules-alvin/3_implementation_details/prototype/testing/a.cmod@
a9049dd
| Last change on this file since a9049dd was a9049dd, checked in by , 8 weeks ago | |
|---|---|
|
|
| File size: 143 bytes | |
| Line | |
|---|---|
| 1 | module A; |
| 2 | |
| 3 | import Basic; |
| 4 | |
| 5 | export struct S foo(int i, int j, int k) { |
| 6 | struct S s; |
| 7 | s.i = i; |
| 8 | s.j = j; |
| 9 | s.k = f(k); |
| 10 | return s; |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.