aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/cgo/out.txt
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-05-29 23:26:57 +0200
committerRon Evans <[email protected]>2019-06-03 16:13:19 +0200
commit1d7cc2c2427c473b5ad07ab4e1ce144114e73988 (patch)
tree91227c51fe4aaa33b565e49106145b1605795e7f /testdata/cgo/out.txt
parent23c8d158470e8df944a93b45fb204b06ee5685b8 (diff)
downloadtinygo-1d7cc2c2427c473b5ad07ab4e1ce144114e73988.tar.gz
tinygo-1d7cc2c2427c473b5ad07ab4e1ce144114e73988.zip
cgo: add support for bitfields using generated getters and setters
Diffstat (limited to 'testdata/cgo/out.txt')
-rw-r--r--testdata/cgo/out.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/testdata/cgo/out.txt b/testdata/cgo/out.txt
index e06d79ac9..73cb2b990 100644
--- a/testdata/cgo/out.txt
+++ b/testdata/cgo/out.txt
@@ -31,6 +31,16 @@ union local data: 5 8 1
union s: true
union f: +6.280000e+000
union field: +6.280000e+000
+bitfield a: 15
+bitfield b: 1
+bitfield c: 2
+bitfield d: 47
+bitfield e: 5
+bitfield a: 7
+bitfield b: 0
+bitfield c: 3
+bitfield d: 47
+bitfield e: 5
struct: 3 5
n in chain: 3
n in chain: 6