// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fsyntax-only %s // REQUIRES: aarch64-registered-target || arm-registered-target // expected-no-diagnostics struct a {}; __SVFloat32_t b(a); template using e = decltype(b(c())); e f(a); template using h = decltype(f(c())); template struct i { static void j() { a d; g()(d); } }; struct k { template void operator()(c) { [](h) {}; } void l() { i::j; } };