mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
22efff3c98
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. llvm-svn: 230936
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
|
|
|