Test cases
- Added note about compile-time constant violations that this code would generate C-wise to `simple_variables.t`
This commit is contained in:
parent
990f0ed1cc
commit
ffa2174172
|
@ -2,6 +2,8 @@ module simple_variables_decls_ass;
|
|||
|
||||
|
||||
int x = 1+2*2/1-6;
|
||||
|
||||
discard "TDOO: Technically also not allowed (not compile-time constant in C)"
|
||||
int y = 2+x;
|
||||
|
||||
discard "TODO: Technically the below should not be allowed as we cannot do it in C - sadly";
|
||||
|
|
Loading…
Reference in New Issue