aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-5-main.c
blob: 49f459b8cf2b498ecc744bc4f4a94df0fbc0338d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifdef N
typedef __SIZE_TYPE__ size_t;

char buf[N];

void test1 (size_t);
void test2 (size_t);
void test3 (size_t);
void test4 (size_t);
void test5 (size_t);
void test6 (size_t);
void test7 (size_t);

int
main (void)
{
  test1 (42);
  test2 (42);
  test3 (42);
  test4 (42);
  test5 (42);
  test6 (42);
  test7 (42);
  return 0;
}
#else
int
main (void)
{
  return 0;
}
#endif