mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00

Incl. fixing up the d_do_test.d tool to work properly with MODEL=32 on Windows. And somewhat improve the documentation of MODEL=32omf, nowadays used for the 32-bit OMF toolchain.
14 lines
242 B
C
14 lines
242 B
C
/* DISABLED: win osx
|
|
*/
|
|
|
|
/* https://issues.dlang.org/show_bug.cgi?id=23011
|
|
*/
|
|
|
|
extern char **myenviron asm("environ");
|
|
int myprintf(char *, ...) asm("printf");
|
|
int main()
|
|
{
|
|
void *p = &myenviron;
|
|
myprintf("%p\n", p);
|
|
return 0;
|
|
}
|