☰
Debian Codegraph
@
2.11.0~20240909-3
/
/
clang_delta
/
tests
/
reduce-pointer-level
/
init-list2.c
☽
☼
clang_delta/tests/reduce-pointer-level/init-list2.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-pointer-level --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3
int
g1;
4
int
*g2[][
1
] = {{}, &g1};
5
int
**g3 = &g2;
6
7
// CHECK: int g1;
8
// CHECK: int *g2[][1] = {{[{][{]}}}, &g1};
9
// CHECK: int *g3 = &g1;
10