[Issue 3553] ICE when a function argument defaults to __LINE__
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Nov 26 16:33:27 PST 2009
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=3553
Don <clugdbug at yahoo.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au
            Summary|ICE when a template         |ICE when a function
                   |function size_t argument    |argument defaults to
                   |defaults to __LINE__        |__LINE__
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2009-11-26 16:33:26 PST ---
It doesn't need to be a template. It crashes whenever there's an implicit cast
from __LINE__ to any non-int type, in a function default argument.
void foo(uint line = __LINE__) {}
void main() { foo(); }
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list