// RUN: %clang_cc1 -std=c++17 -verify %s // expected-no-diagnostics template struct A { template struct B { B(...); }; template B(U) -> B; }; A::B b = 123; using T = decltype(b); using T = A::B;