source: src/Tests/Exception.c@ 5b40f30

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since 5b40f30 was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 10 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.