how to write a expand function that satisfies the following?

----
void fun(ref int a,ref int b){
  a=1;
}
void main(){
  int[2]c;
  fun(c.expand);
  assert(c[0]==1);
}
----

Reply via email to