Debian Codegraph @

clang_delta/tests/remove-unused-field/designated5.c

raw symbols SCIP
1 // RUN: %clang_delta --transformation=remove-unused-field --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK: struct {
4 struct {
5 // CHECK-NEXT: int z;
6 int z;
7 // CHECK-NOT: int x;
8 // CHECK: {{ }}
9 int x;
10 // CHECK-NEXT: int y;
11 int y;
12 // CHECK-NEXT: } s = {
13 } s = {
14 // CHECK-NEXT: .y = 2,
15 .y = 2,
16 // CHECK-NEXT: 3,
17 3,
18 // CHECK-NOT .x = 1,
19 .x = 1,
20 };