From da92993480a8aa0169a697e19fea4ba47e537353 Mon Sep 17 00:00:00 2001
From: Chris Lattner <sabre@nondot.org>
Date: Mon, 16 Jun 2003 13:33:59 +0000
Subject: [PATCH] New testcase identified by joel

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6709 91177308-0d34-0410-b5e6-96231b3b80d8
---
 test/C++Frontend/2003-06-16-InvalidInitializer.c | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 test/C++Frontend/2003-06-16-InvalidInitializer.c

diff --git a/test/C++Frontend/2003-06-16-InvalidInitializer.c b/test/C++Frontend/2003-06-16-InvalidInitializer.c
new file mode 100644
index 00000000000..b9b4172dce6
--- /dev/null
+++ b/test/C++Frontend/2003-06-16-InvalidInitializer.c
@@ -0,0 +1,7 @@
+typedef struct {
+    char *auth_pwfile;
+} auth_config_rec;
+
+void *Ptr = &((auth_config_rec*)0)->auth_pwfile;
+
+int main() { return 0; }