Untested data section analysis

This commit is contained in:
2022-10-16 02:53:37 -04:00
parent 85bc6064f2
commit f57637d7fc
5 changed files with 104 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
:arf
---
data ro aBasicInt:Int 5
data ro bRune:Int 'A'
data ro cString:String 'A very large bird'
data ro dCharBuffer:U8:32 'A very large bird\000'

View File

@@ -18,3 +18,5 @@ type ro eInheritObject:cBasicObject
type ro fInheritObjectFromOther:required.bBird
ro wing 2
ro beak:Int 238
# TODO: test a type that has a member pointing to itself