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



--- Comment #5 from changlon <chang...@gmail.com> 2011-03-03 06:50:13 PST ---
-----------------------------------
ptrdiff_t Test1( string file = __FILE__, ptrdiff_t line = __LINE__)(){
    pragma(msg, line.stringof);
    return line ;
}

class Test2(string name,  string file = __FILE__, ptrdiff_t line = __LINE__){
    pragma(msg, line.stringof);
}
void main(){
    auto test1 = Test1();
    auto test2 = new Test2!("test") ;
}
---------------------------------------
compile this the dmd print 11, 7. dmd should print 11, 12 .

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

Reply via email to