Add a debug counter for late-combine
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / code-gen2.C
blob730f0f91fdad10190659f2470b42d7400c3e34c6
1 // { dg-do run  }
2 // GROUPS passed code-generation
3 // Check that declarations with initializations are executed
4 // correctly.
6 extern "C" int printf (const char *, ...); 
8 int main ()
10         char buff[40] ;
11         char *tmp = &buff[0];   // also fails for char *tmp = buff;
13         if ((__SIZE_TYPE__) tmp != (__SIZE_TYPE__) &buff[0])
14           { printf ("FAIL\n"); return 1; }
15         else
16           printf ("PASS\n");
18         return 0;