gcc/gcc/testsuite/g++.dg/abi/empty13.C

18 lines
331 B
C

// PR c++/60336
// { dg-do run }
// { dg-options "-x c -fabi-version=9" }
// { dg-additional-sources "empty13a.c" }
// { dg-prune-output "command line option" }
#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;
}