[dmd-internals] failure test no longer failing

Brad Roberts braddr at puremagic.com
Sat Sep 11 17:53:23 PDT 2010


http://d.puremagic.com/test-results/test_data.ghtml?dataid=1773
http://www.dsource.org/projects/dmd/browser/trunk/test/fail_compilation/fail83.d

$ more fail_compilation/fail83.d
// this code causes a compiler GPF

template fn( T ) {
     void fn() {
     }
}

template fn( T ) {
     void fn( T val ) {
     }
}

void main() {
     fn!(int)( 1 );
}

This code looks fine to me and no longer fails to compile with the checkins in
the last hour or so.  I assume that the private test suite has just added a test
similar to this one to a 'it should run successfully' test and that it should be
removed from the 'it fails to compile' side of things -- well, really, should
never have been in it, but I'll not start that rant today.

Thoughts?

Thanks,
Brad


More information about the dmd-internals mailing list