Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/SemaTemplate/
Dtemp_arg_nontype_cxx1z.cpp269 template<int, auto> struct NestedAny;
270 template<auto N> struct NestedAny<0, N>; // expected-note 3{{match}}
271 template<int N> struct NestedAny<0, N> { typedef int Int; }; // expected-note 3{{match}} argument
272 template<short N> struct NestedAny<0, N> { typedef int Short; }; // expected-note 3{{match}} argument
273 NestedAny<0, 0>::Int nested_int; // expected-error {{ambiguous}}
274 NestedAny<0, (short)0>::Short nested_short; // expected-error {{ambiguous}}
275 NestedAny<0, (char)0>::Short nested_char; // expected-error {{ambiguous}}