Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / 5.8.0 / sun4-solaris / auto / POSIX / assert.al
# NOTE: Derived from ../../lib/POSIX.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package POSIX;
#line 77 "../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/assert.al)"
sub assert {
usage "assert(expr)" if @_ != 1;
if (!$_[0]) {
croak "Assertion failed";
}
}
# end of POSIX::assert
1;