Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/abi/empty22.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children | 1830386684a0 |
rev | line source |
---|---|
131 | 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 "empty22a.c" } | |
5 // { dg-prune-output "command line option" } | |
6 | |
7 #include "empty22.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 } |