Updated fix of #2218

This commit is contained in:
Christoffer Lerno
2025-06-24 22:28:14 +02:00
parent 11b8a9808d
commit faf073885f
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
typedef Foo = int;
bitstruct Bar : Foo
{
bool a;
}
fn int main()
{
Bar b;
(Foo)b;
(int)b;
($typefrom(Bar.inner))b;
return 0;
}