Files
c3c/test/test_suite/distinct/disntinct_add_fail.c3
2025-06-18 17:02:56 +02:00

13 lines
225 B
Plaintext

// #target: macos-x64
module test;
import std;
fn void main()
{
DString y;
y ^= 1; // #error: Expected an integer here
y += 1.0; // #error: Expected a numeric type here
y += 1; // #error: Expected a numeric type here
}