aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/empty13.C
blob: 47f1d7367a4221fe8a26c27cc44c4de86ba0b4c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// PR c++/60336
// { dg-do run { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } }
// { dg-options "-x c -fabi-version=11" }
// { dg-additional-sources "empty13a.c" }
// { dg-additional-options -Wno-complain-wrong-lang }

#include "empty13.h"
extern "C" void fun(struct dummy, struct foo);

int main()
{
  struct dummy d;
  struct foo f = { -1, -2, -3, -4, -5 };

  fun(d, f);
  return 0;
}