mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 13:29:15 +02:00
+ exception testing
This commit is contained in:
parent
91a55f259f
commit
30e5f6934e
23
tests/tbs/tb0449.pp
Normal file
23
tests/tbs/tb0449.pp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ %NORUN }
|
||||||
|
|
||||||
|
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$mode objfpc}
|
||||||
|
{$endif}
|
||||||
|
uses sysutils;
|
||||||
|
|
||||||
|
type
|
||||||
|
|
||||||
|
EWbcError = class of Exception;
|
||||||
|
|
||||||
|
|
||||||
|
Begin
|
||||||
|
raise EwbcError.create('Hello');
|
||||||
|
end.
|
||||||
|
|
||||||
|
{
|
||||||
|
$Log$
|
||||||
|
Revision 1.1 2003-02-02 13:46:06 carl
|
||||||
|
+ exception testing
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user