summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb123.C
blob: cb4505f7e0b65627971b203bebc60a87126c52cd (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// { dg-options "-O2 -W   " }
#include "stdio.h"

void writeNote() throw( int )
{
    printf( "hello world\n" );
    try { }
    catch( int ){ throw; }
}