New testcase for PR1744

llvm-svn: 44418
diff --git a/llvm/test/CFrontend/2007-11-28-GlobalInitializer.c b/llvm/test/CFrontend/2007-11-28-GlobalInitializer.c
new file mode 100644
index 0000000..c8c7a59
--- /dev/null
+++ b/llvm/test/CFrontend/2007-11-28-GlobalInitializer.c
@@ -0,0 +1,8 @@
+// RUN: %llvmgcc -S %s -o - 
+// PR1744
+typedef struct foo { int x; char *p; } FOO;
+extern FOO yy[];
+
+int *y = &((yy + 1)->x);
+void *z = &((yy + 1)->x);
+