1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Test update

This commit is contained in:
Brian Fiete 2021-01-28 07:56:27 -08:00
parent 52a8aca30d
commit b37dfcee62

View file

@ -26,6 +26,11 @@ namespace Tests
{ {
return val; return val;
} }
const float& MethodA3(const float& val)
{
return val;
}
}; };
struct StructB struct StructB
@ -546,6 +551,7 @@ void UseIt()
sa.MethodA1(sa, 1); sa.MethodA1(sa, 1);
float f = 123; float f = 123;
sa.MethodA2(f); sa.MethodA2(f);
sa.MethodA3(f);
Interop::StructB sb; Interop::StructB sb;
sb.MethodB0(0); sb.MethodB0(0);
sb.MethodB1(sb, 1); sb.MethodB1(sb, 1);