1 // RUN: not %clang_cc1 -std=c++17 -fsyntax-only -ferror-limit 1 %s 2>&1 | FileCheck %s
5 // CHECK: fatal error: too many errors emitted, stopping now
7 namespace rdar39051732
{
9 template<class T
> struct A
{
10 template <class U
> A(T
&, ...);
12 // Deduction guide triggers constructor instantiation.
13 template<class T
> A(const T
&, const T
&) -> A
<T
&>;