]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2007-04-24-str-const.c
Vendor import of clang RELEASE_360/rc2 tag r227651 (effectively, 3.6.0 RC2):
[FreeBSD/FreeBSD.git] / test / CodeGen / 2007-04-24-str-const.c
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 }