repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
I cast, therefore I think I know what I'm doing.
[llvm/msp430.git]
/
test
/
Verifier
/
gcread-ptrptr.ll
blob
4ed22fa6c24ec0256550cbab346c08474269efa8
1
; RUN: not llvm-as < %s >& /dev/null
2
; PR1633
3
4
%meta = type { i8* }
5
%obj = type { %meta* }
6
7
declare %obj* @llvm.gcread(%obj*, %obj*)
8
9
define %obj* @f() {
10
entry:
11
%x = call %obj* @llvm.gcread(%obj* null, %obj* null)
12
ret %obj* %x
13
}