http://d.puremagic.com/issues/show_bug.cgi?id=1576
------- Comment #3 from spam at extrawurst.org  2007-10-13 13:34 -------
oh sorry there is even a smaller one:
void bar(ref const int _a) {
}
void main()
{
        int b=0;
        bar(b);
}
--