summaryrefslogtreecommitdiff
path: root/release_23/test/CFrontend/2007-04-24-str-const.c
blob: 4c109c41b0195bd8ee57df8bc2d8f2e6e29bb122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: %llvmgcc -c %s  -o /dev/null
static char *str;

static const struct {
 const char *name;
 unsigned type;
} scan_special[] = {
 {"shift", 1},
 {0, 0}
};

static void
sb(void)
{
 while (*str == ' ' || *str == '\t')
  str++;
}