]>
oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.robertl/eb50.C
+++ /dev/null
-struct foo { };
-int f(int a, int b)
-{
- if (b == 0)
- throw foo();
- return a / b;
-}
-int main()
-{
- try {
- f(0, 0);
- return 1;
- } catch (foo x) {
- return 0;
- }
-}