/* Show the rangecheck errors thrown with mismatched array math */
proc main()
{
var a, b, c;
a = {1,2,3};
b = {1,2};
try {
c = a + b;
}
catch(e) {
if (e == oadl::ShapeCheck) {
"Caught shape error\n";
}
}
}