(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
abi/
empty12.C
// PR c++/60336
// { dg-do run { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } }
// { dg-options "-Wabi=11 -x c" }
// { dg-additional-sources "empty12a.c" }
// { dg-additional-options -Wno-complain-wrong-lang }

#include "empty12.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); // { dg-warning "empty" }
  return 0;
}