| 1 | // RUN: %clang_delta --query-instances=simple-inliner %s 2>&1 | %remove_lit_checks | FileCheck %s |
| 2 | |
| 3 | // CHECK: Available transformation instances: 0 |
| 4 | |
| 5 | struct a; |
| 6 | template <typename> using b = a; |
| 7 | struct a { |
| 8 | template <typename c> auto d(c) { |
| 9 | using e = b<c>; |
| 10 | return e{}; |
| 11 | } |
| 12 | } f; |
| 13 | auto g() -> a { |
| 14 | a h; |
| 15 | f.d([] {}).d(g()); |
| 16 | return h; |
| 17 | } |