summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/struct.eo
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-05 15:14:39 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-05 15:19:28 +0200
commit04b0321bea1637539eff15c7759ab43991fe4d09 (patch)
tree095eecf1f68ea98092946b7a305538f88f7a11d3 /src/tests/eolian/data/struct.eo
parentee0023055f76096788afae3dbdaaeb9c05b99334 (diff)
eolian: update C generator to respect by_ref as well as tests
Diffstat (limited to 'src/tests/eolian/data/struct.eo')
-rw-r--r--src/tests/eolian/data/struct.eo4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eolian/data/struct.eo b/src/tests/eolian/data/struct.eo
index 80a4935..57f250b 100644
--- a/src/tests/eolian/data/struct.eo
+++ b/src/tests/eolian/data/struct.eo
@@ -1,5 +1,5 @@
1struct Named { 1struct Named {
2 field: ptr(int); 2 field: int @by_ref;
3 something: string; 3 something: string;
4} 4}
5 5
@@ -24,7 +24,7 @@ class Struct {
24 return: mstring @move; 24 return: mstring @move;
25 } 25 }
26 bar { 26 bar {
27 return: ptr(Named); 27 return: Named @by_ref;
28 } 28 }
29 } 29 }
30} 30}