Changes in tests/tuple/tupleVariadic.cfa [fd54fef:107b01a]
- File:
-
- 1 edited
-
tests/tuple/tupleVariadic.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/tuple/tupleVariadic.cfa
rfd54fef r107b01a 19 19 printf("called func(void)\n"); 20 20 } 21 forall( T, Params...| { void process(T); void func(Params); })21 forall(otype T, ttype Params | { void process(T); void func(Params); }) 22 22 void func(T arg1, Params p) { 23 23 process(arg1); … … 92 92 } 93 93 94 forall( T)94 forall(otype T) 95 95 T * copy(T x) { 96 96 // test calling new inside a polymorphic function … … 98 98 } 99 99 100 forall( T...| { void foo(T); }) void bar(T x) {}100 forall(ttype T | { void foo(T); }) void bar(T x) {} 101 101 void foo(int) {} 102 102
Note:
See TracChangeset
for help on using the changeset viewer.