cmake-d/cmake-d/CMakeDCompilerABI.d
2015-01-22 22:22:43 +01:00

9 lines
237 B
D

enum int sizeof_dptr = (void*).sizeof;
string info_sizeof_dptr = "INFO" ":" "sizeof_dptr[" ~ sizeof_dptr.stringof ~ "]";
int main(string[] args)
{
int require = 0;
require += info_sizeof_dptr[args.length];
return require;
}