annotate run/f/final_13_A.d @ 1559:ec5e144583ea

D1 -> D2 : 1/N
author thomask
date Sun, 19 Aug 2007 19:11:54 +0000
parents 9597b1b8030f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1543
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
1 // $HeadURL$
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
2 // $Date$
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
3 // $Author$
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
4
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
5 // @author@ <dhaffey@gmail.com>
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
6 // @date@ 2007-05-31
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1151
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
8 // @desc@ [Issue 1151] Final template class w/ constructor and invariant causes compile error
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
9
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
10 module dstress.run.f.final_13_A;
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
11
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
12 final class Foo(){
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
13 this(){
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
14 }
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
15
1559
ec5e144583ea D1 -> D2 : 1/N
thomask
parents: 1543
diff changeset
16 invariant(){
1543
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
17 }
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
18 }
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
19
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
20 int main(){
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
21 auto f = new Foo!()();
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
22 assert(f);
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
23
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
24 return 0;
9597b1b8030f [Issue 1151] Final template class w/ constructor and invariant causes compile error
thomask
parents:
diff changeset
25 }