☰
Debian Codegraph
@
2.11.0~20240909-3
/
/
clang_delta
/
tests
/
empty-struct-to-int
/
struct_int.c
☽
☼
clang_delta/tests/empty-struct-to-int/struct_int.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=empty-struct-to-int --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3
// CHECK: struct {
4
struct
{
5
// CHECK-NEXT: int f1;
6
int
f1
;
7
// CHECK-NEXT: int f3[];
8
struct
{
9
int
f2
;
10
}
f3
[];
11
// CHECK-NEXT: } s1 = {};
12
} s1 = {};