xref: /llvm-project/clang/test/CodeGen/2007-04-24-str-const.c (revision e6051006ba15b9dd9d43b8f6d545c98d5d74ec6a)
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
sb(void)13 sb(void)
14 {
15  while (*str == ' ' || *str == '\t')
16   str++;
17 }
18