commit | f67265f34504e505325e19bac805db9e5c74a810 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Dec 10 19:50:32 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Dec 10 19:50:32 2007 +0000 |
tree | e69f0bbb2480e9a19ea8f33460574c34ec693357 | |
parent | c55a288e30894fbe804aad36581df1d7bf327aed [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
diff --git a/test/CodeGen/globalinit.c b/test/CodeGen/globalinit.c index 55298bc..f47fd5c 100644 --- a/test/CodeGen/globalinit.c +++ b/test/CodeGen/globalinit.c
@@ -10,7 +10,7 @@ extern int y[]; -//void *g = y; +void *g = y; int latin_ptr2len (char *p); int (*mb_ptr2len) (char *p) = latin_ptr2len;