mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 05:25:53 +00:00
8fae2845b1
Fixes assertion failures/crashes on bad datalayout specifications. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230940 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
132 B
LLVM
7 lines
132 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
target datalayout = "i32:24:32"
|
|
|
|
; CHECK: Invalid ABI alignment, must be a power of 2
|
|
|