Searched defs:FunT2 (Results 1 – 2 of 2) sorted by relevance
6 template <typename T> consteval int FunT2() { return 0; } in FunT2() function7 template <> consteval int FunT2<double>() { return 0; } in FunT2() function8 template <> consteval int FunT2<int>() { return; } // expected-error {{non-void consteval function … in FunT2() function
2234 template <typename T> constexpr int FunT2() { return 0; } FunT2() function 2235 template <> constexpr int FunT2<double>() { return 0; } FunT2() function 2236 template <> constexpr int FunT2<int>() { return; } // expected-error {{non-void constexpr function 'FunT2<int>' should return a value}} FunT2() function