[ create a new paste ] login | about

Project: ncu
Link: http://ncu.codepad.org/amnHcD7N    [ raw code | output | fork ]

GiM - D, pasted on May 22:
1
2
3
4
5
6
7
8
9
10
11
import tango.io.Stdout;

void main()
{
    int x = 7;
    {
        Stdout.formatln ("{}", x);
        int x = 9;
        Stdout.formatln ("{}", x);
    }
}


Output:
1
Line 8: Error: shadowing declaration t.main.x is deprecated


Create a new paste based on this one


Comments: