1 #define	TEST(N)			\
2 	do {			\
3 		d = b + a[N];	\
4 		if (d < b)	\
5 			c++;	\
6 		b = d;		\
7 	} while (0)
8 
foo(int * a,int b,int c)9 int foo(int *a, int b, int c)
10 {
11 	int d;
12 
13 	TEST(0);
14 	TEST(1);
15 	TEST(2);
16 
17 	return d + c;
18 }
19 
20 /*
21  * check-name: quadratic phisrc
22  * check-command: test-linearize -Wno-decl $file
23  * check-output-ignore
24  * check-output-excludes: phi\\..*, .*, .*
25  * check-output-excludes: phi\\..*, .*, .*, .*
26  * check-output-pattern(6): phisrc\\.
27  */
28