August 06, 2004
The following makes dmd segfault:

# template A(alias T)
# {
#   typeof(T) foo = 3*T;
# }
#
# void main()
# {
#   mixin A!(int) a;
#   a.foo;
# }

Yes, the code is wrong, there should be a variable parameter, not an int.

Nick