18 lines · plain
1;; We're intentionally testing fatal errors (for malformed input files), and2;; fatal errors aren't supported for testing when main is run twice.3; XFAIL: main-run-twice4 5; REQUIRES: x866; RUN: llvm-as %s -o %t.o7; RUN: not %lld %t.o -o /dev/null 2>&1 | FileCheck %s8 9; CHECK: error: input module has no datalayout10 11; This bitcode file has no datalayout.12; Check that we error out producing a reasonable diagnostic.13target triple = "x86_64-apple-macosx10.15.0"14 15define void @_start() {16 ret void17}18