mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
43 lines
460 B
Beef
43 lines
460 B
Beef
![]() |
#pragma warning disable 168
|
||
|
|
||
|
using System;
|
||
|
using System.Collections;
|
||
|
|
||
|
namespace Bug
|
||
|
{
|
||
|
class ClassA
|
||
|
{
|
||
|
public int Call()
|
||
|
{
|
||
|
return 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class ClassB
|
||
|
{
|
||
|
public int Call()
|
||
|
{
|
||
|
return 2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
typealias Alias1 = comptype(Gen.Get());
|
||
|
typealias Alias2 = Alias1;
|
||
|
|
||
|
class Zonk<T> : Alias2
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
class Program
|
||
|
{
|
||
|
public static int Main(String[] args)
|
||
|
{
|
||
|
Zonk<int> zk = scope .();
|
||
|
int val = zk.Call();
|
||
|
//End
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
}
|