Debian Codegraph @

clang_delta/tests/instantiate-template-param/default_param.cc

raw symbols SCIP
1 // RUN: %clang_delta --transformation=instantiate-template-param --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK: template <typename T1, typename T2 = int> struct A {
4 template <typename T1, typename T2 = int> struct A {
5 // CHECK: void bar(int p);
6 void bar(T2 p);
7 // CHECK: };
8 };
9 // CHECK: void foo() {
10 void foo() {
11 // CHECK: A<int> a;
12 A<int> a;
13 // CHECK: }
14 }