dmd/compiler/test/runnable/test23011.c
Martin Kinkelin f3ad118c61 Azure CI: Migrate from legacy MODEL=32mscoff to MODEL=32
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.
2023-12-16 03:11:51 +01:00

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;
}