Debian Codegraph @

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

raw symbols SCIP
1 // RUN: %clang_delta --transformation=remove-unused-field --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK: struct S {
4 struct S {
5 // CHECK-NOT: int f1;
6 // CHECK: {{ }}
7 int f1;
8 // CHECK-NEXT: int f2;
9 int f2;
10 };
11
12 void foo() {
13 // CHECK: S s = { 2};
14 S s = {1, 2};
15 }