16 lines · plain
1; REQUIRES: x862; This test intentionally checks for fatal errors, and fatal errors aren't supported for testing when main is run twice.3; XFAIL: main-run-twice4; RUN: llvm-as %s -o %t.o5; RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s6 7; CHECK: input module has no datalayout8 9; This bitcode file has no datalayout.10; Check that we error out producing a reasonable diagnostic.11target triple = "x86_64-unknown-linux-gnu"12 13define void @_start() {14 ret void15}16