2016-11-23 04:37:37 +08:00
|
|
|
; REQUIRES: x86
|
|
|
|
; RUN: llvm-as %s -o %t.o
|
2020-02-13 13:48:45 +08:00
|
|
|
; RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
|
2016-11-23 04:37:37 +08:00
|
|
|
|
2016-12-15 05:58:26 +08:00
|
|
|
; CHECK: input module has no datalayout
|
2016-11-23 04:37:37 +08:00
|
|
|
|
|
|
|
; This bitcode file has no datalayout.
|
2016-12-15 05:58:26 +08:00
|
|
|
; Check that we error out producing a reasonable diagnostic.
|
2016-11-23 04:37:37 +08:00
|
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
|
|
|
|
define void @_start() {
|
|
|
|
ret void
|
|
|
|
}
|