annotate test/bug37.d @ 309:d59c363fccad trunk

[svn r330] Implemented synchronized statements. Changed the tryfinally handlers to a more generalized EnclosingHandler. Changed ClassInfoS to be mutable so they can be used as locks. Added new BB after throw ala return/break etc.
author lindquist
date Sat, 28 Jun 2008 11:37:53 +0200
parents 2b5a2eaa88be
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
69
2b5a2eaa88be [svn r73] Identity expression for dynamic array and null was broken.
lindquist
parents:
diff changeset
1 module bug37;
2b5a2eaa88be [svn r73] Identity expression for dynamic array and null was broken.
lindquist
parents:
diff changeset
2
2b5a2eaa88be [svn r73] Identity expression for dynamic array and null was broken.
lindquist
parents:
diff changeset
3 void main()
2b5a2eaa88be [svn r73] Identity expression for dynamic array and null was broken.
lindquist
parents:
diff changeset
4 {
2b5a2eaa88be [svn r73] Identity expression for dynamic array and null was broken.
lindquist
parents:
diff changeset
5 char[] a = "hello";
2b5a2eaa88be [svn r73] Identity expression for dynamic array and null was broken.
lindquist
parents:
diff changeset
6 assert(a !is null);
2b5a2eaa88be [svn r73] Identity expression for dynamic array and null was broken.
lindquist
parents:
diff changeset
7 }