File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ template <> consteval int FunT2<int>() { return; } // expected-error {{non-void
10
10
enum E {};
11
11
12
12
constexpr E operator +(E,E) { return ; } // expected-error {{non-void constexpr function 'operator+' should return a value}}
13
- consteval E operator + (E,E) { return ; } // expected-error {{non-void consteval function 'operator+ ' should return a value}}
14
- template <typename T> constexpr E operator - (E,E) { return ; } // expected-error {{non-void constexpr function 'operator- ' should return a value}}
13
+ consteval E operator - (E,E) { return ; } // expected-error {{non-void consteval function 'operator- ' should return a value}}
14
+ template <typename T> constexpr E operator + (E,E) { return ; } // expected-error {{non-void constexpr function 'operator+ ' should return a value}}
15
15
template <typename T> consteval E operator -(E,E) { return ; } // expected-error {{non-void consteval function 'operator-' should return a value}}
16
16
17
17
template <typename T> constexpr E operator *(E,E);
You can’t perform that action at this time.
0 commit comments