test: 对象化前的最后稳定版本
- OopInheritTest 全部类补类体字段声明(x/y/r/w/h/health/battery 等), 保证父类字段展平与 GEP 偏移正确 - 多个测试适配 i8* 指针比较语义(== 指针地址比较改 string.strcmp) - 删除 ZlibTest/__zlib 旧实现与 find.py 调试脚本 - 更新 TODO 与 TestProject
This commit is contained in:
1 parent
cd1f662e17
commit
e1cb560df0
23 files changed
+151
-3265
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import re
|
||||
import t, c
|
||||
|
||||
enum A:
|
||||
k: t.State
|
||||
|
||||
extern def add(a: int, b: int) -> int # return a + b
|
||||
export def minus(a: int, b: int) -> int:
|
||||
return a - b
|
||||
|
||||
inline fn a(): return
|
||||
inline func b(): return
|
||||
inline function d(): return
|
||||
|
||||
# 装饰器高亮消失
|
||||
|
||||
# fn fun func function
|
||||
|
||||
# virual
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
Asm("")
|
||||
Reference in new issue
Block a user