The method of doing the matching with a 'select' instruction was wrong. The
[oota-llvm.git] / test / FrontendC / 2007-04-24-str-const.c
1 // RUN: %llvmgcc -c %s  -o /dev/null
2 static char *str;
3
4 static const struct {
5  const char *name;
6  unsigned type;
7 } scan_special[] = {
8  {"shift", 1},
9  {0, 0}
10 };
11
12 static void
13 sb(void)
14 {
15  while (*str == ' ' || *str == '\t')
16   str++;
17 }