Commit 16d8beaa authored by Alexander Hirsch's avatar Alexander Hirsch
Browse files

Add shadowing example

parent 45c3d5a1
int main()
{
int x;
x = 1;
print_int(x);
{
x = 2;
print_int(x);
int x;
x = 3;
print_int(x);
{
x = 4;
print_int(x);
int x;
x = 5;
print_int(x);
}
print_int(x);
}
print_int(x);
print_nl();
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment