summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ipa/ipa-ea-00-collect-global-record-0.c
blob: f9c4af5d6cf16578a8d9520403c08722640a6e66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do link } */
/* { dg-options  "-fipa-type-escape-analysis -fdump-ipa-type-escape-analysis" } */

struct astruct_s { _Bool a; _Bool b; _Bool c;};
struct astruct_s astruct;

int
main ()
{
	  astruct.a = 0;
}

/* { dg-final { scan-ipa-dump "collected,astruct_s" "type-escape-analysis" } } */