Debian Codegraph @

clang_delta/tests/simple-inliner/inline10.c

raw symbols SCIP
1 // RUN: %clang_delta --transformation=simple-inliner --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 int c(int a) __attribute__((alias("foo")));
4 void d() { c(1); }
5 void f() { c(1); }
6 int foo(int a) {
7 return a;
8 }
9
10 // CHECK: int c(int a) __attribute__((alias
11 // CHECK: void d() {
12 // CHECK: int [[VAR:.*]]; {int a = 1;
13 // CHECK: [[VAR]] = a;
14 // CHECK: }
15 // CHECK: [[VAR]]; }
16 // CHECK: void f() { c(1); }
17 // CHECK: int foo(int a) {
18 // CHECK: return a;
19 // CHECK: }