Debian Codegraph @

clang_delta/tests/simple-inliner/inline9.c

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