Home | History | Annotate | Download | only in Parser

Lines Matching full:template

4   template <typename Ty = char>
5 static_assert(sizeof(Ty) != 1, "Not a char"); // expected-error {{a static_assert declaration cannot be a template}}
8 template <typename Ty = char>
9 static_assert(sizeof(Ty) != 1, "Not a char"); // expected-error {{a static_assert declaration cannot be a template}}
12 template<typename ...T> void f(T t..., int n); // expected-error {{must immediately precede declared identifier}}
13 template<typename ...T> void f(int n, T t...); // expected-error {{must immediately precede declared identifier}}
14 template<typename ...T> void f(int n, T t, ...); // expected-error {{unexpanded parameter pack}}
15 template<typename ...T> void f() {
30 template<typename ...T> struct S {
41 template<typename...T> void f(T n = 1 ...);