mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[clang] [test] Fix an apparent typo in SemaCXX/consteval-return-void.cpp.
Reviewed as part of D119094.
This commit is contained in:
parent
5185f4a05b
commit
528deedd58
@ -10,8 +10,8 @@ template <> consteval int FunT2<int>() { return; } // expected-error {{non-void
|
||||
enum E {};
|
||||
|
||||
constexpr E operator+(E,E) { return; } // expected-error {{non-void constexpr function 'operator+' should return a value}}
|
||||
consteval E operator+(E,E) { return; } // expected-error {{non-void consteval function 'operator+' should return a value}}
|
||||
template <typename T> constexpr E operator-(E,E) { return; } // expected-error {{non-void constexpr function 'operator-' should return a value}}
|
||||
consteval E operator-(E,E) { return; } // expected-error {{non-void consteval function 'operator-' should return a value}}
|
||||
template <typename T> constexpr E operator+(E,E) { return; } // expected-error {{non-void constexpr function 'operator+' should return a value}}
|
||||
template <typename T> consteval E operator-(E,E) { return; } // expected-error {{non-void consteval function 'operator-' should return a value}}
|
||||
|
||||
template <typename T> constexpr E operator*(E,E);
|
||||
|
Loading…
Reference in New Issue
Block a user