Debian Codegraph @

clang_delta/tests/template-arg-to-int/not_valid4.cc

raw symbols SCIP
1 // RUN: %clang_delta --query-instances=template-arg-to-int %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK: Available transformation instances: 0
4
5 template <typename T1> struct pair
6 {
7 typedef T1 first;
8 };
9
10 struct S1 {
11 static void foo();
12 };
13
14 struct S2 {
15 typedef pair<S1>::first type;
16 struct S3 : type {
17 void bar() {
18 type::foo();
19 }
20 };
21 };
22