aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr54327.c
blob: fe7499aab33253dc07ccdd6ec7030cd2d233503c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */

#include <string.h>
#include <stdlib.h>
void treathead ()
{
  char *a = ';' == '\0' ? : 0;
  if (*a == '=')
    {
      while (*a == (*a == 0) || *a == '\'')
	a++;
      if (strlen (a) < 2)
	abort ();
    }
}