Skip to main content
Product
Technology
Discover
Solutions
Docs
Downloads
Pricing
Search
/
Sign in
Sign up
brintos
/
llvm-project-archived
public
Read only
Watch
0
Star
0
Fork
0
Files
Commits
Issues
2
Discussions
0
Wiki
0
Insights
llvm-project-archived
/
clang
/
test
/
CodeGen
/
2002-09-08-PointerShifts.c
Text
·
96 B
·
7d1ba6e
Raw
7 lines · c
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
4
int foo(int *A, unsigned X) {
5
return A[X];
6
}
7