summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr43662.c
blob: 2d87ddfb5d967b942ad3ad7564f28d1d801c667d (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 -maccumulate-outgoing-args" } */

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