dmd/compiler/test/runnable_cxx/test6716.d
2022-07-09 18:53:07 +02:00

20 lines
478 B
D

// EXTRA_CPP_SOURCES: test6716.cpp
version(Windows)
{
// without main, there is no implicit reference to the runtime library
// other platforms pass the runtime library on the linker command line
version(CRuntime_Microsoft)
version(Win64)
pragma(lib, "phobos64");
else
pragma(lib, "phobos32mscoff");
else
pragma(lib, "phobos");
}
extern(C++) int test6716(int magic)
{
assert(magic == 12345);
return 0;
}