1; RUN: not --crash llc -filetype=obj %s -o /dev/null 2>&1 | FileCheck %s 2; CHECK: data symbols must live in a data section: data_symbol 3 4target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" 5target triple = "wasm32-unknown-unknown" 6 7@data_symbol = constant [1024 x i32] zeroinitializer, section ".text", align 16 8 9define hidden i32 @main() local_unnamed_addr #0 { 10entry: 11 %0 = load i32, i32* getelementptr inbounds ([1024 x i32], [1024 x i32]* @data_symbol, i32 0, i32 10) 12 ret i32 %0 13} 14