Debian Codegraph @

clang_delta/tests/replace-function-def-with-decl/macro1.c

raw symbols SCIP
1 // RUN: %clang_delta --transformation=replace-function-def-with-decl --counter=1 --to-counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 #define M2 {
4 #define M1 M2
5 #define M22 }
6 #define M11 M22
7 // CHECK: int foo() ;
8 int foo() M1
9 return 0;
10 }
11 // CHECK-NEXT: void bar() ;
12 void bar() {
13 int x = 0;
14 M11