mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
343 B
Plaintext
12 lines
343 B
Plaintext
/**
|
|
* @param [out] z
|
|
* @param [out] out_data
|
|
**/
|
|
fn void tes2t(char* z, char[] out_data, char[] in_data) {
|
|
z[0] = 2;
|
|
z[0] += 1; // #error: 'out' parameters may not be read
|
|
out_data[0] = 3;
|
|
out_data[0] += 1; // #error: 'out' parameters may not be read
|
|
out_data[0..3]; // #error: 'out' parameters may not be read
|
|
out_data[0..3] = 23;
|
|
} |