]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/abi/empty16.C
c-decl.c (start_decl): Adjust quoting and hyphenation in diagnostics.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / abi / empty16.C
CommitLineData
974aedcc
MP
1// PR c++/60336
2// { dg-do run { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } }
3// { dg-options "-Wabi=11 -x c" }
4// { dg-additional-sources "empty16a.c" }
0ecf545c 5// { dg-prune-output "command-line option" }
974aedcc
MP
6
7#include "empty16.h"
8extern "C" void fun(struct dummy, struct foo);
9
10int main()
11{
12 struct dummy d;
13 struct foo f = { -1, -2, -3, -4, -5 };
14
15 fun(d, f); // { dg-warning "empty" }
16 return 0;
17}