aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/globalinit.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-10 19:50:32 +0000
committerChris Lattner <sabre@nondot.org>2007-12-10 19:50:32 +0000
commit4fd46bc65115e5c37b412f5420e99f9b587d4010 (patch)
treee69f0bbb2480e9a19ea8f33460574c34ec693357 /test/CodeGen/globalinit.c
parent05f753b996a6ea712ab06787190fb3287610fc59 (diff)
add support for implicit cast from array to pointer that is not the element
type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/globalinit.c')
-rw-r--r--test/CodeGen/globalinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/globalinit.c b/test/CodeGen/globalinit.c
index 55298bc07e..f47fd5c457 100644
--- a/test/CodeGen/globalinit.c
+++ b/test/CodeGen/globalinit.c
@@ -10,7 +10,7 @@ void bar() { x[0] = 1; }
extern int y[];
-//void *g = y;
+void *g = y;
int latin_ptr2len (char *p);
int (*mb_ptr2len) (char *p) = latin_ptr2len;