We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_Noreturn
[[noreturn]]
__attribute__((noreturn))
C11:
_Noreturn void f(void);
C++11 (and potentially C2x with N2764):
[[noreturn]] void f();
GCC & Clang:
__attribute__((noreturn)) void f(void);
extern "C" { pub fn f(); }
extern "C" { pub fn f() -> !; }