diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-11 01:38:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-11 01:38:45 +0000 |
commit | df5eb710ce68ff7124cc3d78de819e6a218f6c2d (patch) | |
tree | 4898c1f8ff59122957f837fc26f249b6234c6c8f /test/CodeGen/globalinit.c | |
parent | b8b1e28964efbbf718b3bdd8331985f58d86382a (diff) |
Reimplement support for strings that initialize global inits now that
the types are right in sema. Thanks Steve.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44834 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 36cde9f45d..f47fd5c457 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 |