1  /* PR optimization/7675 */
       2  /* Contributed by Volker Reichelt */
       3  
       4  /* Verify that we don't put automatic variables
       5     in registers too early.  */
       6  
       7  extern int dummy (int *);
       8  
       9  void foo(int i)
      10  {
      11    int j=i;
      12  
      13    void bar() { int x=j, y=i; }
      14  
      15    dummy(&i);
      16  }