[NFC] Remove invisible character in Diagnostic message and tests

This commit is contained in:
Chuanqi Xu 2022-09-06 11:08:42 +08:00
parent f0332d12ae
commit 7628f19262
2 changed files with 2 additions and 2 deletions

View File

@ -11273,7 +11273,7 @@ def err_coroutine_unusable_new : Error<
"'operator new' provided by %0 is not usable with the function signature of %1"
>;
def err_coroutine_unfound_nothrow_new : Error <
"unable to find '::operator new(size_­t, nothrow_­t)' for %0"
"unable to find '::operator new(size_t, nothrow_t)' for %0"
>;
} // end of coroutines issue category

View File

@ -46,6 +46,6 @@ struct std::coroutine_traits<int, promise_on_alloc_failure_tag> {
};
};
extern "C" int f(promise_on_alloc_failure_tag) { // expected-error 1+{{unable to find '::operator new(size_­t, nothrow_­t)' for 'f'}}
extern "C" int f(promise_on_alloc_failure_tag) { // expected-error 1+{{unable to find '::operator new(size_t, nothrow_t)' for 'f'}}
co_return;
}