version (Foo)
{
version (D_Version2)
public import core.memory;
}
else:
version (Bar)
int foo();
int foo(int);