[libc++] Add __iswctype to the locale base API since it's required by <locale> (...
[llvm-project.git] / lldb / test / Shell / Recognizer / Inputs / verbose_trap-in-stl-callback-user-leaf.cpp
blob6c36682626a6ef9912838c30a43c39f5dc7e8dac
1 void definitely_aborts() { __builtin_verbose_trap("User", "Invariant violated"); }
3 namespace std {
4 void aborts_soon() { definitely_aborts(); }
5 } // namespace std
7 void g() { std::aborts_soon(); }
9 namespace std {
10 namespace detail {
11 void eventually_aborts() { g(); }
12 } // namespace detail
14 inline namespace __1 {
15 void eventually_aborts() { detail::eventually_aborts(); }
16 } // namespace __1
17 } // namespace std
19 int main() {
20 std::eventually_aborts();
21 return 0;