1;; We're intentionally testing fatal errors (for malformed input files), and 2;; fatal errors aren't supported for testing when main is run twice. 3; XFAIL: main-run-twice 4 5; REQUIRES: x86 6; RUN: llvm-as %s -o %t.o 7; RUN: not %lld %t.o -o /dev/null 2>&1 | FileCheck %s 8 9; CHECK: error: input module has no datalayout 10 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 void 17} 18