Files
scc/tests/cbuild/tests/test_main.c
zzy e22811f2f5 feat(build): 引入新的 Python 构建系统并移除旧 Makefile
新增基于 Python 的构建脚本 `cbuild.py`,支持包管理、依赖解析和模块化编译。
同时添加 `.gitignore` 忽略 `build` 目录,并在 `justfile` 中更新构建命令。
移除了原有的 `lib/Makefile` 和主目录下的相关 make 规则,统一使用新构建系统。
2025-11-20 10:44:59 +08:00

11 lines
146 B
C

int add(int a, int b);
#include <assert.h>
int main() {
int a = 1;
int b = 2;
int c = add(a, b);
assert(c == 3);
return 0;
}