Debian Codegraph @

clang_delta/tests/copy-propagation/copy2.cpp

raw
1 // RUN: %clang_delta --transformation=copy-propagation --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK: struct S {
4 struct S {
5 S() {
6 int t1; int a;
7 int b = a;
8 {
9 m;
10 // CHECK: int a = b;
11 int a = b;
12 // CHECK: t1 = b;
13 t1 = a;
14 }
15 }
16 int m;
17 };