You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
310 B
26 lines
310 B
4 months ago
|
struct Test0 {};
|
||
|
struct Test1 { float f; };
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
{
|
||
|
Test0 a;
|
||
|
Test0 b = (Test0)a;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
Test1 a;
|
||
|
Test1 b = (Test1)a;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
Test0 a[2];
|
||
|
Test0 b[2] = (Test0[2])a;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
Test1 a[2];
|
||
|
Test1 b[2] = (Test1[2])a;
|
||
|
}
|
||
|
}
|