parser namespace problem
authorMatthias Braun <matze@braunis.de>
Mon, 17 Dec 2007 23:21:11 +0000 (23:21 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 17 Dec 2007 23:21:11 +0000 (23:21 +0000)
[r18790]

parsetest/cp_error007.c [new file with mode: 0644]

diff --git a/parsetest/cp_error007.c b/parsetest/cp_error007.c
new file mode 100644 (file)
index 0000000..1a2c718
--- /dev/null
@@ -0,0 +1,18 @@
+struct Bla {
+       struct arc *ptr;
+};
+
+typedef struct arc
+{
+       struct Bla bla;
+} arc_t;
+
+struct arc k;
+
+int main(void)
+{
+       k.bla.ptr = &k;
+       k.bla.ptr->bla.ptr = &k;
+
+       return 0;
+}