1  /* PR c/53532 */
       2  /* { dg-do compile } */
       3  /* { dg-options "" } */
       4  
       5  struct S {};
       6  extern int foo (struct S);
       7  
       8  int
       9  main ()
      10  {
      11    foo ((struct T) {});	/* { dg-error "invalid use of undefined type" } */
      12    return 0;
      13  }