| 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 | typedef T1 first; |
| 7 | }; |
| 8 | |
| 9 | struct S1 { |
| 10 | void foo() {} |
| 11 | }; |
| 12 | |
| 13 | struct S2 { |
| 14 | typedef pair<S1>::first type; |
| 15 | struct S3 : type { |
| 16 | void bar() { |
| 17 | foo(); |
| 18 | } |
| 19 | }; |
| 20 | }; |