Mercurial > projects > dstress
annotate run/u/unittest_11_C.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 | 0767a3cee5f2 |
children |
rev | line source |
---|---|
1469
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
2 // $Date$ |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
3 // $Author$ |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
4 |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
5 // @author@ Daniel (Zuu) <dkm4i1@gmail.com> |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
6 // @date@ 2007-02-03 |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=928 |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 928] nested struct definition in unittest section of a templated class, hangs DMD |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
9 |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
10 module dstress.run.u.unittest_11_C; |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
11 |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
12 class MinHeap(NodeType){ |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
13 unittest{ |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
14 struct TestType { |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
15 } |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
16 MinHeap!(TestType) foo = new MinHeap!(TestType)(); |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
17 } |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
18 } |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
19 |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
20 int main(){ |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
21 MinHeap!(int) foo = new MinHeap!(int)(); |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
22 return 0; |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
23 } |