saqut-compiler/tests/golden/null/nullable_operand_error.sqt

7 lines
139 B
Plaintext

// ADR-021: nullable operand aritmetikte hata vermeli
int main() {
int? a = 5;
int b = a + 1; // HATA: a nullable
return 0;
}