1
0
forked from rosa/hakurei
Files
hakurei/internal/rosa/llvm_test.go
T
cat df0bb877db internal/rosa: export etc native artifact
This is useful for external container tooling.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-10 13:26:38 +09:00

22 lines
356 B
Go

package rosa_test
import (
"testing"
"hakurei.app/internal/pkg"
"hakurei.app/internal/rosa"
)
func TestLLVMInputs(t *testing.T) {
const wantInputCount = 553
_, llvm := rosa.Native().Std().MustLoad(rosa.H("llvm"))
var n int
for range pkg.Inputs(llvm) {
n++
}
if n != wantInputCount {
t.Errorf("Inputs: %d, want %d", n, wantInputCount)
}
}