source: src/Tests/Exception.c@ a772d8ab

string
Last change on this file since a772d8ab was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago

fix parsing error for EOF message, change cfa-ccp -x flag to -v, regression testing third attempt: consolidate example programs

  • Property mode set to 100644
File size: 413 bytes
Line 
1int fred() {
2 int x;
3 throw 3;
4 throw x = 5;
5
6 try {
7 } catch( int i ) {}
8
9 try {
10 x/4;
11 } catch( int) {
12 } catch( int x ) {
13 } catch( struct { int i; } ) {
14 } catch( struct { int i; } x ) {
15 } catch( struct { int i; } *x ) {
16
17// Cforall extensions
18
19 } catch( * struct { int i; } ) {
20 } catch( * struct { int i; } x ) {
21 } catch( ... ) {
22// } finally {
23 } // try
24}
Note: See TracBrowser for help on using the repository browser.