diff --git a/lld/test/wasm/event-section.ll b/lld/test/wasm/event-section.ll index 771a8cbdf6c2..7bd87907e931 100644 --- a/lld/test/wasm/event-section.ll +++ b/lld/test/wasm/event-section.ll @@ -32,3 +32,6 @@ define void @_start() { ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Attribute: 0 ; CHECK-NEXT: SigIndex: 1 + +; Global section has to come after event section +; CHECK: - Type: GLOBAL