xref: /aosp_15_r20/external/clang/test/CodeGen/2007-04-24-str-const.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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