Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / tests / device / test-stlport_static-exception / jni / eh34.cpp
blob68fa673080a5e017baf67ed4e7d72f9b923e45da
1 // { dg-do run { xfail sparc64-*-elf arm-*-pe } }
2 // { dg-options "-fexceptions" }
4 #include <exception>
5 #include <stdlib.h>
7 void my_unexpected() {
8 exit (0);
11 void foo() throw () { throw "Hi"; }
13 int main() {
14 std::set_unexpected (my_unexpected);
15 foo();
16 return 1;