summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr37217.c
blob: 989eda2cd88b3310ac211fc81d4a790118a323db (plain)
1
2
3
4
5
6
7
8
9
10
/* PR 37217 ICE with -Wconversion */
/* { dg-do compile } */
/* { dg-options "-Wconversion" } */
typedef struct Tcl_ResolvedVarInfo {
  char *re_guts;
} regex_t;
void TclReComp(regex_t *re)
{
  if (re->re_guts == ((void *)0)) ;
}