dashboard
repositories
activity
search
login
lzh
/
A133
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix(pmu): usb supply always usb adapter mode
huangcm
2025-02-24
69ed55dec4b2116a19e4cca4393cbc014fce5fb2
[~lzh/A133.git]
/
android
/
external
/
llvm
/
test
/
Assembler
/
getelementptr_invalid_ptr.ll
1
2
3
4
5
6
7
8
9
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; Test the case of an invalid pointer type on a GEP
; CHECK: base of getelementptr must be a pointer
define i32* @foo(i32 %a) {
%gep = getelementptr i32, i32 %a, i32 1
return i32* %gep
}