digitalmars.D.bugs - Segfault: nested templates and duplicate names
- Russ Lewis (2/9) Jul 01 2004 It doesn't segfault if you change the mixin name to 'baz'.
This code will segfault dmd 0.94 on Linux (RH 9):
template foo(T) {}
template bar(T1,T2) {}
int main() {
mixin bar!(foo!(char),foo!(char)) foo;
return 0;
}
It doesn't segfault if you change the mixin name to 'baz'.
Jul 01 2004








Russ Lewis <spamhole-2001-07-16 deming-os.org>