Revision: | 1.3 |
Committed: | Sat Oct 13 23:19:10 2007 UTC (16 years, 9 months ago) by root |
Content type: | application/x-troff |
Branch: | MAIN |
Changes since 1.2: | +1 -0 lines |
Log Message: | *** empty log message *** |
# | Content |
---|---|
1 | BEGIN { $| = 1; print "1..5\n"; } |
2 | |
3 | use Coro; |
4 | |
5 | print "ok 1\n"; |
6 | |
7 | async { |
8 | local $SIG{__WARN__} = sub { print "ok 4\n" }; |
9 | { |
10 | local $SIG{__WARN__} = sub { print "ok 2\n" }; |
11 | cede; |
12 | warn "-"; |
13 | } |
14 | cede; |
15 | warn "-"; |
16 | cede; |
17 | }; |
18 | |
19 | async { |
20 | local $SIG{__WARN__} = sub { print "ok 5\n" }; |
21 | { |
22 | local $SIG{__WARN__} = sub { print "ok 3\n" }; |
23 | cede; |
24 | warn "-"; |
25 | } |
26 | cede; |
27 | warn "-"; |
28 | }; |
29 | |
30 | cede; |
31 | cede; |
32 | cede; |
33 | cede; |