aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test2.cff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-07 11:13:51 +0200
committerlemon <lsof@mailbox.org>2022-08-07 11:21:42 +0200
commit0a4f81e86d21d056329a2b7b2186152e9b9c2375 (patch)
tree6452e0943a8a81b92aa5a697a8f6b4fb27eb8b1d /bootstrap/test2.cff
parentf97e08b3da14c79f7f78e439d06988753c79384b (diff)
recursive datatypes without forward declaring first
Diffstat (limited to 'bootstrap/test2.cff')
-rw-r--r--bootstrap/test2.cff6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap/test2.cff b/bootstrap/test2.cff
new file mode 100644
index 0000000..ee24d45
--- /dev/null
+++ b/bootstrap/test2.cff
@@ -0,0 +1,6 @@
+import "libc.hff";
+
+struct Node {
+ next *Node,
+ value int,
+}