// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
consteval int // expected-error {{non-void consteval function 'Fun' should return a value}}
consteval int // expected-error {{non-void consteval function 'FunT1' should return a value}}
consteval int
consteval int
consteval int // expected-error {{non-void consteval function 'FunT2<int>' should return a value}}
;
constexpr E // expected-error {{non-void constexpr function 'operator+' should return a value}}
consteval E // expected-error {{non-void consteval function 'operator-' should return a value}}
constexpr E // expected-error {{non-void constexpr function 'operator+' should return a value}}
consteval E // expected-error {{non-void consteval function 'operator-' should return a value}}
constexpr E ;
consteval E ;
constexpr E operator*<int> // expected-error {{non-void constexpr function 'operator*<int>' should return a value}}
consteval E operator/<int> // expected-error {{non-void consteval function 'operator/<int>' should return a value}}
consteval void
consteval void
consteval void
void