diff --git a/lld/test/wasm/event-section.ll b/lld/test/wasm/event-section.ll --- a/lld/test/wasm/event-section.ll +++ b/lld/test/wasm/event-section.ll @@ -32,3 +32,6 @@ ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Attribute: 0 ; CHECK-NEXT: SigIndex: 1 + +; Global section has to come after event section +; CHECK: - Type: GLOBAL