1  /* Test for multiple declarations and composite types, as in bug
       2     13801.  Test types saved from outer scopes are up to date.  */
       3  /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
       4  /* { dg-do compile } */
       5  /* { dg-options "" } */
       6  
       7  int x[];
       8  
       9  void
      10  f (void)
      11  {
      12    extern int x[];
      13  }
      14  
      15  int x[10];
      16  
      17  void
      18  g (void)
      19  {
      20    int x;
      21    {
      22      extern int x[10];
      23    }
      24  }
      25  
      26  void
      27  h (void)
      28  {
      29    sizeof (x);
      30  }