Files
c3c/test/test_suite/cast/cast_string_to_infered_array.c3
2024-12-15 20:42:42 +01:00

6 lines
133 B
Plaintext

import std;
fn void main()
{
char[*]* x = "abc"; // #error: You cannot cast 'String' to 'char[*]*'
io::printn($typeof(x).nameof);
}