☰
Debian Codegraph
@
2.11.0~20240909-3
/
/
clang_delta
/
tests
/
callexpr-to-value
/
macro1.c
☽
☼
clang_delta/tests/callexpr-to-value/macro1.c
code
plain
raw
symbols
SCIP
BSD-3-clause
C-Reduce is Copyright (c) 2011-2012 The University of Utah
debian/copyright
1
// RUN: %clang_delta --transformation=callexpr-to-value --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3
#define
macro bar(1,2)
4
int
bar
(
int
p1,
int
p2) {
5
return
p1 + p2;
6
}
7
8
void
foo
(
void
) {
9
// CHECK: int x = 0;
10
int
x = macro;
11
}