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