☰
Debian Codegraph
@
2.11.0~20240909-3
/
/
clang_delta
/
tests
/
empty-struct-to-int
/
empty-struct5.cpp
☽
☼
clang_delta/tests/empty-struct-to-int/empty-struct5.cpp
code
plain
raw
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-NOT: struct S2
4
struct S2 {
5
// CHECK-NOT: int a[2]
6
char a[2];
7
// CHECK-NOT: };
8
};
9
// CHECK: int s
10
S2 s = {{1,2}};