brintos

brintos / llvm-project-archived public Read only

0
0
Text · 292 B · f5f44e3 Raw
14 lines · plain
1; RUN: llvm-as < %s > %t1.bc2 3; Reject input modules without a datalayout.4; RUN: not llvm-lto2 run %t1.bc -o %t.o \5; RUN:  -r %t1.bc,patatino,px 2>&1 | FileCheck %s6 7; CHECK: input module has no datalayout8 9target triple = "x86_64-unknown-linux-gnu"10 11define void @patatino() {12  ret void13}14