blob: b7351358101c43b97513f6e89530662cd9adeb07 [file] [edit]
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
;
; The same size requirement applies to bitcast constant expressions.
target datalayout = "e-p:64:64:64"
; CHECK: Invalid bitcast
; CHECK: b1 bitcast (ptr @g to b1)
@g = global i8 0
@x = global b1 bitcast (ptr @g to b1)