Init new repository
This commit is contained in:
10
tests/regression_subtract_from_pointer.txt
Normal file
10
tests/regression_subtract_from_pointer.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
// #failed: resolve
|
||||
// #error: cannot perform binary operation, types don't qualify for it, left: 'int' right: '*int'
|
||||
// #error: invalid binary operation for type
|
||||
main :: proc(): int {
|
||||
a := 0;
|
||||
b := &a;
|
||||
c := a - b;
|
||||
d := b - a;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user