Index: tests/bugs/196.cfa
===================================================================
--- tests/bugs/196.cfa	(revision d13dd6b82e4f60add43cb432d50d3713df78e870)
+++ tests/bugs/196.cfa	(revision d13dd6b82e4f60add43cb432d50d3713df78e870)
@@ -0,0 +1,29 @@
+// Trac ticket
+// https://cforall.uwaterloo.ca/trac/ticket/196
+
+forall(dtype T)
+struct link;
+
+forall(dtype T)
+struct link {
+	link(T) * next;
+};
+
+// -----
+
+forall(dtype T)
+struct foo;
+
+forall(dtype U)
+struct bar {
+	foo(U) * data;
+};
+
+forall(dtype T)
+struct foo {};
+
+// -----
+
+int main(int argc, char * argv[]) {
+	return 0;
+}
