1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Verifier/2006-10-15-AddrLabel.ll
Reid Spencer d74463a129 For PR1319: Upgrade to new test harness
llvm-svn: 36070
2007-04-15 10:26:05 +00:00

10 lines
272 B
LLVM

; RUN: ignore llvm-as < %s > /dev/null |& \
; RUN: grep {Cannot form a pointer to a basic block}
define i32 @main() {
%foo = call i8* %llvm.stacksave()
%foop = bitcast i8* %foo to label*
%nret = load label* %foop
br label %nret;
}