Index: test/CodeGen/WebAssembly/offset-folding.ll =================================================================== --- test/CodeGen/WebAssembly/offset-folding.ll +++ test/CodeGen/WebAssembly/offset-folding.ll @@ -5,7 +5,10 @@ target datalayout = "e-p:32:32-i64:64-n32:64-S128" target triple = "wasm32-unknown-unknown" -@x = external global [0 x i32] +; FIXME: make this 'external' and make sure it still works. WebAssembly +; currently only supports linking single files, so 'external' makes +; little sense. +@x = global [0 x i32] zeroinitializer @y = global [50 x i32] zeroinitializer ; Test basic constant offsets of both defined and external symbols.