2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr43662.c
blob2896a1a52c37ed69055c17f5646f7cc881887dbe
1 /* { dg-do compile { target lp64 } } */
2 /* { dg-options "-O2" } */
4 void __attribute__ ((ms_abi)) foo (void)
8 typedef struct _IAVIStreamImpl
10 int sInfo;
11 int has;
12 } IAVIStreamImpl;
14 extern int __attribute__ ((ms_abi)) aso (void *);
15 extern int sre (void *);
17 int AVIFILE_OpenCompressor (IAVIStreamImpl *This)
19 if (This->has != 0)
20 aso (&This->has);
21 sre (&This->sInfo);
22 return 0;