]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: Better tmpl test
authorfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 19 Jul 2019 13:05:56 +0000 (15:05 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 19 Jul 2019 13:05:56 +0000 (15:05 +0200)
tests/error/typedef_func_tmpl_types.gw

index 71aa91d9f0ce2921de78fc4669cadfd880eba849..39d29bddb2212d95853ec704aad633171085de2a 100644 (file)
@@ -4,7 +4,8 @@ typedef void t_ptr<~A~>();
 <~int~>t_ptr iptr;
 
 fun void test<~A~>() {
-  <<< __func__ >>>;
+  A a;
+  <<< __func__, " ", a>>>;
 }
 
 test @=> iptr;