Lines Matching refs:consteval
3 consteval int Fun() { return; } // expected-error {{non-void consteval function 'Fun' should return… in Fun()
5 template <typename T> consteval int FunT1() { return; } // expected-error {{non-void consteval func… in FunT1()
6 template <typename T> consteval int FunT2() { return 0; } in FunT2()
7 template <> consteval int FunT2<double>() { return 0; } in FunT2()
8 template <> consteval int FunT2<int>() { return; } // expected-error {{non-void consteval function … in FunT2()
13 consteval E operator-(E,E) { return; } // expected-error {{non-void consteval function 'operator-'… in operator -()
15 template <typename T> consteval E operator-(E,E) { return; } // expected-error {{non-void consteval… in operator -()
18 template <typename T> consteval E operator/(E,E);
20 template <> consteval E operator/<int>(E,E) { return; } // expected-error {{non-void consteval func…
22 consteval void no_return() {} in no_return()
23 consteval void with_return() { return; } in with_return()
24 consteval void with_return_void() { return void(); } in with_return_void()