mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-23 04:28:40 +00:00
f212856e50
Previously this would result in assertion failures or simply crashes at various points in the optimizer when trying to create types of zero bit width. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230936 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
120 B
LLVM
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
|
|
|