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



--- Comment #1 from kenn...@gmail.com 2011-05-07 00:27:39 PDT ---
A slight variant is when 'f' is a template function taking a delegate literal
as input, it will generate an ICE:

---------------------------------
auto f(alias T)() {
    static void h(){}
    struct S {
        void get() {
            h();
        }
    }
    return S();
}
void main() {
    typeof(f!((){})()) z;
}
---------------------------------
Internal error: backend/cgcs.c 363
---------------------------------

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

Reply via email to