annotate nocompile/new_20.d @ 1576:b3e16c86558e

[Issue 1398] New: GDC doesn't generate correct code <mariusmuja@gmail.com> 2007-08-04 http://d.puremagic.com/issues/show_bug.cgi?id=1398
author thomask
date Thu, 21 Feb 2008 15:20:08 +0000
parents ec5e144583ea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
378
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
1 // $HeadURL$
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
2 // $Date$
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
3 // $Author$
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
4
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
5 // __DSTRESS_ELINE__ 11
739
0ea4c218a3ee updated meta data for Torture
thomask
parents: 378
diff changeset
6 // __DSTRESS_TORTURE_BLOCK__ -release
378
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
7
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
8 module dstress.nocompile.new_20;
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
9
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
10 class MyClass{
1559
ec5e144583ea D1 -> D2 : 1/N
thomask
parents: 739
diff changeset
11 invariant(){
378
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
12 new(size_t s){
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
13 void* v;
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
14 return v;
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
15 }
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
16 }
e555e1460d7e added tests for custom allocators
thomask
parents:
diff changeset
17 }