http://d.puremagic.com/issues/show_bug.cgi?id=5686



--- Comment #1 from changlon <chang...@gmail.com> 2011-03-03 00:27:11 PST ---
update test case:
-----------------
class Test2(string name,  string file = __FILE__, ptrdiff_t line = __LINE__){
    static assert( line != __LINE__ -1 );

    ptrdiff_t test( string file = __FILE__, ptrdiff_t line = __LINE__)(){
        static assert( line != __LINE__ -1 );
        return line ;
    }
}

void main(){
    auto test2 = new Test2!("test") ;
    test2.test ;
}
-------------------------------

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to