1 // GROUPS passed code-generation
2 // Check that declarations with initializations are executed
3 // correctly.
4 
5 extern "C" int printf (const char *, ...);
6 
main()7 int main ()
8 {
9 	char buff[40] ;
10 	char *tmp = &buff[0];	// also fails for char *tmp = buff;
11 
12 	if ((__SIZE_TYPE__) tmp != (__SIZE_TYPE__) &buff[0])
13 	  { printf ("FAIL\n"); return 1; }
14 	else
15 	  printf ("PASS\n");
16 
17 	return 0;
18 }
19