1; RUN: not llvm-as < %s >& /dev/null
2; PR1633
3
4%meta = type { i8* }
5%obj = type { %meta* }
6
7declare %obj* @llvm.gcread(%obj*, %obj*)
8
9define %obj* @f() {
10entry:
11 %x = call %obj* @llvm.gcread(%obj* null, %obj* null)
12 ret %obj* %x
13}
14