diff options
author | Steve Naroff <snaroff@apple.com> | 2007-12-11 00:00:01 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-12-11 00:00:01 +0000 |
commit | 32150f324727d0240f08e7df3abf54d2377af25b (patch) | |
tree | 5df5ac9c790118441862547340c86313eae0c5d5 /test/CodeGen/globalinit.c | |
parent | 9a8385d6653a50169284fa031be287645ae4b114 (diff) |
Explicitly set the string literal type from "char *" to "constant array of char".
At this point, I am fairly certain the front-end is correct. Unfortunately, the back-end is still unhappy.
That said, I've commented out the two lines in globalinit.c that are causing problems.
Chris, please have a look...thanks!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/globalinit.c')
-rw-r--r-- | test/CodeGen/globalinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/globalinit.c b/test/CodeGen/globalinit.c index f47fd5c457..36cde9f45d 100644 --- a/test/CodeGen/globalinit.c +++ b/test/CodeGen/globalinit.c @@ -16,6 +16,6 @@ int latin_ptr2len (char *p); int (*mb_ptr2len) (char *p) = latin_ptr2len; -char string[8] = "string"; // extend init -char string2[4] = "string"; // truncate init +//char string[8] = "string"; // extend init +//char string2[4] = "string"; // truncate init |