// THIS-TEST-SHOULD-NOT-COMPILE
// Regression test for compiler internal error where we substitute invalid
// type into typevar 

// NOTE: if we allow passing structs into TCL code directly, will need
// to modify test

type test {
  int a;
  int b;
}

<T> puts (T t) "turbine" "0.0.0" [
  "puts <<t>>"
];

main () {
  test t;
  t.a = 1;
  t.b = 2;
  puts(t);
}

Add regression test for substituting type var into template
Add regression test for substituting type var into template

git-svn-id: 47705994653588c662f4ea400dfe88107361c0e2@8677 dc4e9af1-7f46-4ead-bba6-71afc04862de
