1### Compilation failed: 2 3error: 4: cannot assign to this expression 4void test_a() { inc1(0); } 5 ^ 6error: 5: cannot assign to this expression 7void test_b() { inc4(float4(0)); } 8 ^^^^^^^^^ 9error: 6: cannot assign to this expression 10void test_c() { inc1(sqrt(1)); } 11 ^^^^^^^ 12error: 10: '$pure' is not permitted here 13$pure void pure_function_with_out_param (out float x) { x = 1; } 14^^^^^ 15error: 10: pure functions cannot have out parameters 16$pure void pure_function_with_out_param (out float x) { x = 1; } 17 ^^^ 18error: 10: unknown identifier 'x' 19$pure void pure_function_with_out_param (out float x) { x = 1; } 20 ^ 21error: 11: '$pure' is not permitted here 22$pure void pure_function_with_inout_param(inout float x) { x += 1; } 23^^^^^ 24error: 11: pure functions cannot have out parameters 25$pure void pure_function_with_inout_param(inout float x) { x += 1; } 26 ^^^^^ 27error: 11: unknown identifier 'x' 28$pure void pure_function_with_inout_param(inout float x) { x += 1; } 29 ^ 309 errors 31