test: add end-to-end integration across dash/bash/zsh

This commit is contained in:
2026-08-29 01:10:28 -04:00
parent 22e22f2575
commit b94a540673
7 changed files with 573 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/*
* demo.c - second translation unit of the integration fixture.
*
* Gives the fixture a real multi-file shape (the header demo.h is part of
* the deliverable "sources + headers"). Deliberately libm-free: the only
* libm dependency lives in main.c (sin), so a broken -lm accumulation is
* caught at LINK time there.
*/
#include "demo.h"
int
demo_compute(int x)
{
return x * 3 + 1;
}