repo.or.cz
/
pet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
scan.cc: extract_array: drop redundant local variable
[pet.git]
/
tests
/
enum.c
blob
e7b503ca179682d48426811eefa112aa37752871
1
enum
type
{
2
type_a
=
0
,
3
type_b
,
4
type_c
,
5
type_last
6
};
7
8
void
foo
()
9
{
10
int
a
[
type_last
];
11
12
#pragma scop
13
a
[
type_b
] =
5
;
14
#pragma endscop
15
}