mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Move dmd files into compiler/
This commit is contained in:
parent
20bd0cacbd
commit
6374bb87b7
4579 changed files with 4 additions and 4 deletions
20
compiler/test/runnable_cxx/test6716.d
Normal file
20
compiler/test/runnable_cxx/test6716.d
Normal file
|
@ -0,0 +1,20 @@
|
|||
// 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue