blob: 4156289fdd70fa67c301ee8e61b8f6a45d077fd9 [file] [log] [blame]
/*
https://issues.dlang.org/show_bug.cgi?id=10619
PERMUTE_ARGS:
RUN_OUTPUT:
---
1
2
3
4
---
*/
void main()
{
{
int x = 1;
print!x();
}
{
int x = 2;
print!x();
}
{
static int y = 3;
print!y();
}
{
static int y = 4;
print!y();
}
}
void print(alias symbol)()
{
import core.stdc.stdio : printf;
printf("%d\n", symbol);
}