Debian Codegraph @

clang_delta/tests/remove-unused-field/unused_field2.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 S {
4 struct S {
5 // CHECK: int f1;
6 int f1;
7 // CHECK-NOT: int f2;
8 // CHECK: {{ }}
9 int f2;
10 };
11
12 void foo() {
13 // CHECK: S s = {1};
14 S s = {1, 2};
15 }