// RUN: %clang_cc1 -triple=x86_64 -fsyntax-only -std=c++20 -ffp-exception-behavior=strict -verify %s // expected-no-diagnostics template struct S { template using type1 = decltype([] { return U{}; }); }; void foo() { using T1 = S::type1; int x = T1()(); }