| 1 | // RUN: %clang_delta --transformation=remove-unused-function --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s |
| 2 | |
| 3 | // CHECK: template <typename T> struct S {;}; |
| 4 | template <typename T> struct S {template <typename T1> void foo();}; |
| 5 | // CHECK-NOT: void S<T>::foo() |
| 6 | template<typename T> template<typename T1> void S<T>::foo() { } |