g++.dg/cpp1y/vla11.C...
[gcc.git] / gcc / testsuite / g++.dg / abi / empty18.C
1 // PR c++/60336
2 // { dg-do run }
3 // { dg-options "-Wabi=9 -x c" }
4 // { dg-additional-sources "empty18a.c" }
5 // { dg-prune-output "command line option" }
6
7 #include "empty18.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); // { dg-warning "empty" }
16 return 0;
17 }