2021-06-10 18:49:14 +00:00
|
|
|
SKIP: FAILED
|
2021-05-27 16:48:57 +00:00
|
|
|
|
2021-05-20 21:31:37 +00:00
|
|
|
|
|
|
|
|
2021-06-10 18:49:14 +00:00
|
|
|
Validation Failure:
|
|
|
|
|
|
|
|
Compilation failed:
|
|
|
|
|
|
|
|
program_source:22:18: error: default initialization of an object of const type 'const uint' (aka 'const unsigned int')
|
2021-05-20 21:31:37 +00:00
|
|
|
uint const a;
|
2021-06-10 18:49:14 +00:00
|
|
|
^
|
|
|
|
= 0
|
|
|
|
program_source:23:18: error: default initialization of an object of const type 'const uint' (aka 'const unsigned int')
|
2021-05-20 21:31:37 +00:00
|
|
|
uint const b;
|
2021-06-10 18:49:14 +00:00
|
|
|
^
|
|
|
|
= 0
|
|
|
|
program_source:33:11: error: cannot assign to variable 'a' with const-qualified type 'const uint' (aka 'const unsigned int')
|
2021-05-20 21:31:37 +00:00
|
|
|
a = (i + (resultCell.x * dimInner));
|
2021-06-10 18:49:14 +00:00
|
|
|
~ ^
|
|
|
|
program_source:22:18: note: variable 'a' declared const here
|
|
|
|
uint const a;
|
|
|
|
~~~~~~~~~~~^
|
|
|
|
program_source:34:11: error: cannot assign to variable 'b' with const-qualified type 'const uint' (aka 'const unsigned int')
|
2021-05-20 21:31:37 +00:00
|
|
|
b = (resultCell.y + (i * dimOutter));
|
2021-06-10 18:49:14 +00:00
|
|
|
~ ^
|
|
|
|
program_source:23:18: note: variable 'b' declared const here
|
|
|
|
uint const b;
|
|
|
|
~~~~~~~~~~~^
|