1 # RUN: not obj2yaml %p/Inputs/WASM/invalid-section-order.wasm 2>&1 | FileCheck %s
2 # CHECK: {{.*}}: out of order section type: 10
4 # Inputs/WASM/invalid-section-order.wasm is generated from this ll file, by
5 # modifying WasmObjectWriter to incorrectly write the data section before the
8 # target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
9 # target triple = "wasm32-unknown-unknown"
11 # @data = global i32 0, align 4
13 # define void @foo() {