Files
c3c/test/test_suite/cast/cast_string_to_inferred_array.c3
Christoffer Lerno e605a21fd3 Revert "Revert 0.7.6 code for 0.7.5 re-release"
This reverts commit d1349c9cfb.
2025-09-05 23:30:35 +02: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);
}