forked from OSchip/llvm-project
[NFC] Remove invisible character in Diagnostic message and tests
This commit is contained in:
parent
f0332d12ae
commit
7628f19262
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue