annotate tangotests/debug3.d @ 271:1e6e2b5d5bfe trunk

[svn r292] Fixed: string switch was broken in several ways. Fixed: TypeInfo_Typedef.next was incorrect (return base of base instead of just base). Fixed: ClassInfo offset type info (offTi) had invalid offsets.
author lindquist
date Wed, 18 Jun 2008 21:31:05 +0200
parents d61ce72c39ab
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
245
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
1 module tangotests.debug3;
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
2
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
3 void main()
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
4 {
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
5 int i = 42;
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
6 int* ip = &i;
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
7
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
8 int* fail;
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
9 *fail = 0;
d61ce72c39ab [svn r262] Fixed debug info for normal function parameters.
lindquist
parents:
diff changeset
10 }