☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gm2
/
isolib
/
run
/
pass
/
exceptiontest.mod
☽
☼
gcc/testsuite/gm2/isolib/run/pass/exceptiontest.mod
code
plain
raw
1
MODULE exceptiontest;
2
3
IMPORT EXCEPTIONS;
4
5
VAR
6
s: EXCEPTIONS.ExceptionSource;
7
BEGIN
8
EXCEPTIONS.AllocateSource(s) ;
9
EXCEPTIONS.RAISE(s, 1, 'Exception text')
10
EXCEPT
11
HALT(0)
12
END exceptiontest.