1 /* Verify proper errors are generated for functions taking too many
2 arguments, with aggregates and 128-bit arguments. */
3 /* { dg-do compile } */
4 /* { dg-options "-O0" } */
5
6 #include <stdint.h>
7
8 struct ja
9 {
10 long i1;
11 long i2;
12 long i3;
13 long i4;
14 long i5;
15 long i6;
16 };
17
18 void jorl (struct ja, int, int, int, unsigned __int128);
19
foo()20 int foo ()
21 {
22 struct ja je;
23 jorl (je, 1, 2, 3, 4); /* { dg-error "too many function arguments" } */
24 return 2L /1;
25 }
26