// RUN: %clang_cc1 -std=c++11 -verify %s
;
using A = T;
// These definitions are OK, X<A<T, decltype(...)>...> is equivalent to X<T...>
// so this defines the member of the primary template.
void // expected-error {{undeclared}}
int X<A<T, decltype>...>::n = 0; // expected-error {{undeclared}}
; void ;
void