blob: 73caa2de044ee07b13674f8094c2c4a5defe56cb [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++1z
// FIXME: This is in p10 (?) in C++1z.
template<typename T> struct A {
A(T);
};
template<typename T> A(T) -> A<T>;
A a = a; // expected-error{{variable 'a' declared with deduced type 'A' cannot appear in its own initializer}}