11590Srgrimesint bar = (1 + 5); 21590Srgrimes 31590SrgrimesFOO("here is a #define test: ) {"); 41590Srgrimeschar sysent[20]; 51590Srgrimesint nsysent = sizeof (sysent) / sizeof (sysent[0]); 61590Srgrimes/* 71590Srgrimes * now is the time for a comment. 81590Srgrimes * four lines in length... 91590Srgrimes */struct struct_xtra{int list;};r4(x,y){};typedef struct{int bar;}struct_xxe; 101590Srgrimes#define FOO BAR 111590Srgrimesstruct struct_three { 121590Srgrimes int list; 131590Srgrimes}; 141590Srgrimes#define SINGLE 151590Srgrimesint BAD(); 161590Srgrimesenum color {red, green, gold, brown}; 171590Srgrimeschar qq[] = " quote(one,two) {int bar;} "; 181590Srgrimestypedef struct { 191590Srgrimes int bar; 201590Srgrimes struct struct_two { 211590Srgrimes int foo; 221590Srgrimes union union_3 { 231590Srgrimes struct struct_three entry; 241590Srgrimes char size[25]; 251590Srgrimes }; 261590Srgrimes struct last { 271590Srgrimes struct struct_three xentry; 281590Srgrimes char list[34]; 291590Srgrimes }; 301590Srgrimes }; 311590Srgrimes} struct_one; 321590Srgrimes#define TWOLINE ((MAXLIST + FUTURE + 15) \ 331590Srgrimes / (time_to_live ? 3 : 4)) 341590Srgrimes#if (defined(BAR)) 351590Srgrimesint bar; 361590Srgrimes#endif 371590Srgrimes#define MULTIPLE {\ 381590Srgrimes multiple(one,two); \ 391590Srgrimes lineno++; \ 401590Srgrimes callroute(one,two); \ 411590Srgrimes} 421590Srgrimes#if defined(BAR) 431590Srgrimesint bar; 441590Srgrimes#endif 451590Srgrimesunion union_one { 461590Srgrimes struct struct_three s3; 471590Srgrimes char foo[25]; 481590Srgrimes}; 491590Srgrimes#define XYZ(A,B) (A + B / 2) * (3 - 26 + l_lineno) 501590Srgrimesroutine1(one,two) /* comments here are fun... */ 511590Srgrimes struct { 521590Srgrimes int entry; 531590Srgrimes char bar[34]; 541590Srgrimes } *one; 551590Srgrimes char two[10]; 561590Srgrimes{ 571590Srgrimestypedef unsigned char u_char; 581590Srgrimes register struct buf *bp; 591590Srgrimes five(one,two); 601590Srgrimes} 611590Srgrimes routine2 (one,two) { puts("hello\n"); } 621590Srgrimes routine3 631590Srgrimes(one, 641590Srgrimestwo) { puts("world\n"); } 651590Srgrimesroutine4(int one, char (*two)(void)) /* test ANSI arguments */ 661590Srgrimes{ 671590Srgrimes} 68