Mercurial > projects > dstress
annotate run/u/unittest_11_A.d @ 1469:0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
Daniel (Zuu) <dkm4i1@gmail.com>
2007-02-03
http://d.puremagic.com/issues/show_bug.cgi?id=928
author | thomask |
---|---|
date | Thu, 05 Apr 2007 16:35:18 +0000 |
parents | |
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_A; |
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 } |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
14 |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
15 unittest{ |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
16 struct 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 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
|
19 } |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
20 |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
21 int main(){ |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
22 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
|
23 return 0; |
0767a3cee5f2
[Issue 928] nested struct definition in unittest section of a templated class, hangs DMD
thomask
parents:
diff
changeset
|
24 } |