1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 23:34:10 +02:00

More fail tests

This commit is contained in:
Brian Fiete 2020-06-21 07:50:37 -07:00
parent 47e0cff3a0
commit 307c1080c4
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,17 @@
using System;
namespace IDETest
{
class Generics
{
public void Method1<T>(T val) where T : Array
{
}
public void Method2<T, T2>(T val, T2 val2)
{
Method1(val2); //FAIL 'T', declared to be 'T2'
}
}
}