• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s > %t1.bc
2
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 %s
6
7; CHECK: input module has no datalayout
8
9target triple = "x86_64-unknown-linux-gnu"
10
11define void @patatino() {
12  ret void
13}
14