Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / amd64 / lib / perl5 / 5.8.8 / i86pc-solaris-64-ld / auto / POSIX / assert.al
CommitLineData
920dae64
AT
1# NOTE: Derived from ../../lib/POSIX.pm.
2# Changes made here will be lost when autosplit is run again.
3# See AutoSplit.pm.
4package POSIX;
5
6#line 80 "../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/assert.al)"
7sub assert {
8 usage "assert(expr)" if @_ != 1;
9 if (!$_[0]) {
10 croak "Assertion failed";
11 }
12}
13
14# end of POSIX::assert
151;