1; REQUIRES: systemz 2;; Test we can infer the e_machine value EM_S390 from a bitcode file. 3 4; RUN: llvm-as %s -o %t.o 5; RUN: ld.lld %t.o -o %t 6; RUN: llvm-readobj -h %t | FileCheck %s 7 8; CHECK: Class: 64-bit 9; CHECK: DataEncoding: BigEndian 10; CHECK: Machine: EM_S390 11 12target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64" 13target triple = "s390x-unknown-linux-gnu" 14 15define void @_start() { 16entry: 17 ret void 18} 19