2 ; RUN: llvm-as %s -o %t.o
3 ; RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
5 ; CHECK: input module has no datalayout
7 ; This bitcode file has no datalayout.
8 ; Check that we error out producing a reasonable diagnostic.
9 target triple = "x86_64-unknown-linux-gnu"
11 define void @_start() {