http://d.puremagic.com/issues/show_bug.cgi?id=571
------- Comment #3 from 2korden at gmail.com 2008-06-30 05:39 -------
Updated test case for D2:
class Test {
template test(){
enum int test = 1; // replace with const for D1
}
}
void main(){
printf("%d", (new Test()).test!());
}
--