summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr43662.c
blob: 246c8aafa6e22278beeab8d424400ce1a11b3bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* { dg-do compile } */
/* { dg-require-effective-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;
}