llvm-project/llvm/test/FrontendC/2007-04-24-str-const.c

18 lines
232 B
C
Raw Normal View History

2007-04-25 05:05:52 +08:00
// RUN: %llvmgcc -c %s -o /dev/null
static char *str;
static const struct {
const char *name;
unsigned type;
} scan_special[] = {
{"shift", 1},
{0, 0}
};
static void
sb(void)
{
while (*str == ' ' || *str == '\t')
str++;
}