xxxxxxxxxx
void main()
{
const int foo = 7;
static assert(is(typeof(foo) == const(int)));
const
double bar = foo + 6;
}
static assert(is(typeof(bar) == const(double)));