Support constfold of sarray = elem;
+test42
+xtest46 -> test OK
fix Issue 9790 - Internal error when compiling a invalid variable in template
+opt