repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
2006-03-01-GimplifyCrash.cpp
blob
b809751cd0f2ddb05cb2905adcef54edd67e020d
1
// RUN: %clang_cc1 -emit-llvm %s -o -
2
3
struct
PrefMapElem
{
4
virtual
~
PrefMapElem
();
5
unsigned int
fPrefId
;
6
};
7
8
int
foo
() {
9
PrefMapElem
*
fMap
;
10
if
(
fMap
[
0
].
fPrefId
==
1
)
11
return
1
;
12
13
return
0
;
14
}