// RUN: %clang_delta --transformation=reduce-class-template-param --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s template struct B; template struct A { typedef T1 type; }; template struct B { typedef typename A::type type; }; // CHECK: template struct B; // CHECK: template // CHECK: struct A { // CHECK: typedef T1 type; // CHECK: }; // CHECK: template // CHECK: struct B { // CHECK: typedef typename A::type type; // CHEKC: };