mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Fix bug when converting from vector to distinct type of wider vector. #2604
This commit is contained in:
10
test/test_suite/bitstruct/cast_distinct_vec_to_other_vec.c3t
Normal file
10
test/test_suite/bitstruct/cast_distinct_vec_to_other_vec.c3t
Normal file
@@ -0,0 +1,10 @@
|
||||
typedef Foo = char[<4>];
|
||||
|
||||
fn int main()
|
||||
{
|
||||
int[<4>] a;
|
||||
Foo f = (Foo)a;
|
||||
return 0;
|
||||
}
|
||||
|
||||
fn void thing() {}
|
||||
Reference in New Issue
Block a user