Debian Codegraph @

clang_delta/tests/param-to-local/test5.cc

raw symbols SCIP
1 // RUN: %clang_delta --query-instances=param-to-local %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK: Available transformation instances: 0
4
5 class S1 {
6 static void foo();
7 static void bar(void*);
8 };
9 class S2 {
10 public:
11 void baz();
12 };
13 void S1::foo() {
14 auto t = new S2;
15 &S2::baz, [t] { bar(t); };
16 }