summaryrefslogtreecommitdiff
path: root/test/c/struct.expect
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-02-15 19:54:55 +0000
committerAlasdair Armstrong2018-02-16 13:52:32 +0000
commit00ca0aa4dce0abdcba574ce907e9a8a62d9d2255 (patch)
tree31b1b0308d68210b483088346b471dfd468bb9d7 /test/c/struct.expect
parent737ec26cf494affb346504c482e9b91127b68636 (diff)
Can now compile aarch64/duopod to C
Goes through the C compiler without any errors, but as we still don't have all the requisite builtins it won't actually produce an executable. There are still a few things that don't work properly, such as vectors of non-bit types - but once those are fixed and the Sail library is implemented fully it should work.
Diffstat (limited to 'test/c/struct.expect')
-rw-r--r--test/c/struct.expect3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/c/struct.expect b/test/c/struct.expect
new file mode 100644
index 00000000..ecf6e2e1
--- /dev/null
+++ b/test/c/struct.expect
@@ -0,0 +1,3 @@
+x.A = 4'0x8
+x.A = 4'0xF
+(struct {A = 0b1111, B = 0b11} : test).B = 2'0x3