aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr43662.c
blob: 2896a1a52c37ed69055c17f5646f7cc881887dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-do compile { target lp64 } } */
/* { dg-options "-O2" } */

void __attribute__ ((ms_abi)) foo (void)
{
}

typedef struct _IAVIStreamImpl
{
  int sInfo;
  int has;
} IAVIStreamImpl;

extern int __attribute__ ((ms_abi)) aso (void *);
extern int sre (void *);

int AVIFILE_OpenCompressor (IAVIStreamImpl *This)
{
  if (This->has != 0)
    aso (&This->has);
  sre (&This->sInfo);
  return 0;
}