blob: 8afef5a77742b7d0132866316d91fcac29127c6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* { dg-do link } */
/* { dg-options "-fipa-hello-world -fdump-ipa-hello-world" } */
#include <stddef.h>
struct astruct_s { _Bool a; _Bool b; _Bool c;};
void record_parameter(struct astruct_s a) {}
void pointer_parameter(struct astruct_s *a) {}
void array_parameter(struct astruct_s a[]) {}
int
main ()
{
}
/* { dg-final { scan-ipa-dump "collected,astruct_s" "hello-world" } } */
/* { dg-final { scan-ipa-dump "collected,astruct_s*" "hello-world" } } */
/* { dg-final { scan-ipa-dump "collected,astruct_s[]" "hello-world" } } */
|