Sign in
◑
Theme
llvm
/
lld
/
refs/heads/release_39
/
.
/
test
/
ELF
/
lto
/
invalid-bitcode.ll
blob: eceffb10d8ad42eb81dcdf63a8039e749286077c [
file
] [
edit
]
; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: not ld.lld -m elf_x86_64 %t.o 2>&1 | FileCheck %s
; CHECK: invalid bitcode file:
; This bitcode file has no datalayout.
target
triple
=
"x86_64-unknown-linux-gnu"
define
void
@_start
()
{
ret
void
}