Debian Codegraph @

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

raw
1 // PR c++/60336
2 // { dg-do run { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } }
3 // { dg-options "-x c -fabi-version=11" }
4 // { dg-additional-sources "empty13a.c" }
5 // { dg-additional-options -Wno-complain-wrong-lang }
6
7 #include "empty13.h"
8 extern "C" void fun(struct dummy, struct foo);
9
10 int main()
11 {
12 struct dummy d;
13 struct foo f = { -1, -2, -3, -4, -5 };
14
15 fun(d, f);
16 return 0;
17 }