llvm-project/llvm/test/Assembler/invalid-datalayout19.ll
Nikita Popov ee4d09b8bb [AsmParser] Report invalid data layout more gracefully
Report this as a normal LLParser error, rather than a fatal error.
2022-07-13 10:24:47 +02:00

7 lines
120 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
target datalayout = "p:0:32:32"
; CHECK: Invalid pointer size of 0 bytes