~ubuntu-branches/ubuntu/wily/gargoyle-free/wily-proposed

« back to all changes in this revision

Viewing changes to tads/tads3/test/data/exp_err.t

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Beucler
  • Date: 2009-09-11 20:09:43 UTC
  • Revision ID: james.westby@ubuntu.com-20090911200943-idgzoyupq6650zpn
Tags: upstream-2009-08-25
ImportĀ upstreamĀ versionĀ 2009-08-25

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "tads.h"
 
2
 
 
3
// illegally export LastProp
 
4
export prop1 'LastProp';
 
5
 
 
6
// export two definitions for RuntimeError, in addition to the one in _main
 
7
export MyRuntimeError 'RuntimeError';
 
8
export AnotherError 'RuntimeError';
 
9
 
 
10
class MyRuntimeError: Exception
 
11
    prop1 = nil
 
12
;
 
13
 
 
14
class AnotherError: Exception
 
15
    prop1 = nil
 
16
;
 
17
 
 
18
main(args)
 
19
{
 
20
    "That's about all!";
 
21
}
 
22