☰
Debian Codegraph
@
2.11.0~20240909-3
/
/
clang_delta
/
tests
/
reduce-array-size
/
array1.c
☽
☼
clang_delta/tests/reduce-array-size/array1.c
code
plain
raw
symbols
SCIP
BSD-3-clause
C-Reduce is Copyright (c) 2011-2012 The University of Utah
debian/copyright
1
// RUN: %clang_delta --transformation=reduce-array-size --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3
int
foo
() {
4
// CHECK: int a[5] = {1};
5
int
a[
10
] = {
1
};
6
// CHECK: return a[4];
7
return
a[
4
];
8
}