1*c85f09ccSJohn Levon 
ok(int a,int b,int c)2*c85f09ccSJohn Levon static void ok(int a, int b, int c)
3*c85f09ccSJohn Levon {
4*c85f09ccSJohn Levon 	__range__(a, 0, 8);
5*c85f09ccSJohn Levon 	__range__(a, b, c);
6*c85f09ccSJohn Levon }
7*c85f09ccSJohn Levon 
ko(int a,int b,int c)8*c85f09ccSJohn Levon static void ko(int a, int b, int c)
9*c85f09ccSJohn Levon {
10*c85f09ccSJohn Levon 	__range__ a, 0, 8;
11*c85f09ccSJohn Levon 	__range__ a, b, c;
12*c85f09ccSJohn Levon }
13*c85f09ccSJohn Levon 
14*c85f09ccSJohn Levon /*
15*c85f09ccSJohn Levon  * check-name: range syntax
16*c85f09ccSJohn Levon  *
17*c85f09ccSJohn Levon  * check-error-start
18*c85f09ccSJohn Levon range-syntax.c:10:19: error: Expected ( after __range__ statement
19*c85f09ccSJohn Levon range-syntax.c:10:19: error: got a
20*c85f09ccSJohn Levon range-syntax.c:11:19: error: Expected ( after __range__ statement
21*c85f09ccSJohn Levon range-syntax.c:11:19: error: got a
22*c85f09ccSJohn Levon  * check-error-end
23*c85f09ccSJohn Levon  */
24