mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 06:39:12 +00:00
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36401 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d53b69d9c2
commit
93675f4cdd
17
test/CFrontend/2007-04-24-str-const.ll
Normal file
17
test/CFrontend/2007-04-24-str-const.ll
Normal file
@ -0,0 +1,17 @@
|
||||
// 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++;
|
||||
}
|
Loading…
Reference in New Issue
Block a user