Mercurial > projects > dstress
annotate run/f/final_13_A.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | ec5e144583ea |
children |
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 | 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 } |