blob: 606239a4f84c0f40221cbacdf1a2d5fe9a30bf8a [file] [log] [blame]
; RUN: not llvm-as < %s > /dev/null 2>&1
; PR1633
%meta = type { ptr }
%obj = type { ptr }
declare ptr @llvm.gcread(ptr, ptr)
define ptr @f() {
entry:
%x = call ptr @llvm.gcread(ptr null, ptr null)
ret ptr %x
}