| 1 |
// RUN: %clang_delta --query-instances=instantiate-template-param %s 2>&1 | %remove_lit_checks | FileCheck %s |
| 2 |
|
| 3 |
// CHECK: Available transformation instances: 0 |
| 4 |
|
| 5 |
template <typename T> struct S { |
| 6 |
T bar(T p) { return p; } |
| 7 |
}; |
| 8 |
class T {}; |
| 9 |
void foo() { |
| 10 |
struct S<T> s; |
| 11 |
} |