mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
020f241883
automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). llvm-svn: 120158
18 lines
232 B
C
18 lines
232 B
C
// RUN: %llvmgcc -S %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++;
|
|
}
|