☰
Debian Codegraph
@
2.11.0~20240909-3
/
/
clang_delta
/
tests
/
copy-propagation
/
copy2.cpp
☽
☼
clang_delta/tests/copy-propagation/copy2.cpp
code
plain
raw
BSD-3-clause
C-Reduce is Copyright (c) 2011-2012 The University of Utah
debian/copyright
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
};