Untested data section analysis
This commit is contained in:
10
tests/analyzer/dataSection/main.arf
Normal file
10
tests/analyzer/dataSection/main.arf
Normal 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'
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user