mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 15:33:40 +00:00
compiler: move NonConstGlobals pass to transform package
This commit is contained in:
committed by
Ron Evans
parent
b6314fa6ab
commit
c5cb2cec9b
@@ -12,3 +12,10 @@ func TestApplyFunctionSections(t *testing.T) {
|
||||
ApplyFunctionSections(mod)
|
||||
})
|
||||
}
|
||||
|
||||
func TestNonConstGlobals(t *testing.T) {
|
||||
t.Parallel()
|
||||
testTransform(t, "testdata/globals-non-const", func(mod llvm.Module) {
|
||||
NonConstGlobals(mod)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user