Debian Codegraph @

clang_delta/tests/aggregate-to-scalar/test4.c

raw symbols SCIP
1 // RUN: %clang_delta --transformation=aggregate-to-scalar --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 struct S {
4 int f1;
5 int f2;
6 };
7 struct S s = {
8 .f1 = 0,
9 .f2 = 16
10 };
11 // CHECK: int s_0 = 0;
12
13 void foo() {
14 // CHECK: s_0++;
15 s.f1++;
16 }