aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa')
-rw-r--r--internal/rosa/llvm_test.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/internal/rosa/llvm_test.go b/internal/rosa/llvm_test.go
new file mode 100644
index 00000000..de63cb6b
--- /dev/null
+++ b/internal/rosa/llvm_test.go
@@ -0,0 +1,21 @@
+package rosa_test
+
+import (
+ "testing"
+
+ "hakurei.app/internal/pkg"
+ "hakurei.app/internal/rosa"
+)
+
+func TestLLVMInputs(t *testing.T) {
+ const wantInputCount = 688
+
+ _, 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)
+ }
+}