1; RUN: llc < %s -mattr=+mutable-globals | FileCheck %s
2
3; Test that mutable globals is properly emitted into the target features section
4
5target triple = "wasm32-unknown-unknown"
6
7define void @foo() {
8  ret void
9}
10
11; CHECK-LABEL: .custom_section.target_features
12; CHECK-NEXT: .int8 1
13; CHECK-NEXT: .int8 43
14; CHECK-NEXT: .int8 15
15; CHECK-NEXT: .ascii "mutable-globals"
16