Match: Only allow single use of MIN_EXPR for SAT_TRUNC form 2 [PR115863]
[official-gcc.git] / gcc / testsuite / g++.dg / abi / empty15.C
blob2474911c5bb1c34c5cd25cb1e71998a47134c775
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 "empty15a.c" }
5 // { dg-additional-options -Wno-complain-wrong-lang }
7 #include "empty15.h"
8 extern "C" void fun(struct dummy, struct foo);
10 int main()
12   struct dummy d;
13   struct foo f = { -1, -2, -3, -4, -5 };
15   fun(d, f); // { dg-warning "empty" }
16   return 0;