Lines Matching defs:Collision
191 template<typename T, typename U> struct Collision { struct
199 template<> int f2<T>() {} in f2()
200 template<> int f2<U>() {} in f2()
202 template<typename> static int v1; // expected-error 0-1{{C++14 extension}}
203 template<> static int v1<T>; // expected-note {{previous}}
204 template<> static int v1<U>; // expected-error {{duplicate member}}
206 …tatic inline int v2; // expected-error 0-1{{C++17 extension}} expected-error 0-1{{C++14 extension}}
207 …> static inline int v2<T>; // expected-error 0-1{{C++17 extension}} expected-note {{previous}}
208 …inline int v2<U>; // expected-error 0-1{{C++17 extension}} expected-error {{duplicate member}}
216 template<> struct S2<T> {}; // expected-note {{previous}}
217 template<> struct S2<U> {}; // expected-error {{redefinition}}