Home
last modified time | relevance | path

Searched refs:NestedAny (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp_arg_nontype_cxx1z.cpp280 template<int, auto> struct NestedAny;
281 template<auto N> struct NestedAny<0, N>; // expected-note 3{{match}}
282 template<int N> struct NestedAny<0, N> { typedef int Int; }; // expected-note 3{{match}} struct
283 template<short N> struct NestedAny<0, N> { typedef int Short; }; // expected-note 3{{match}} struct
284 NestedAny<0, 0>::Int nested_int; // expected-error {{ambiguous}}
285 NestedAny<0, (short)0>::Short nested_short; // expected-error {{ambiguous}}
286 NestedAny<0, (char)0>::Short nested_char; // expected-error {{ambiguous}}