// RUN: %clang_delta --query-instances=template-arg-to-int %s 2>&1 | %remove_lit_checks | FileCheck %s // CHECK: Available transformation instances: 0 template struct pair { typedef T1 first; }; struct S1 { void foo() {} }; struct S2 { typedef pair::first type; pair::first s1; type s2; void bar() { s1.foo(); s2.foo(); } };