xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2007-04-24-str-const.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 // RUN: %clang_cc1 -emit-llvm %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 }
18