projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5560 from kumpera/wasm-work-p3
[mono.git]
/
mcs
/
tests
/
gtest-variance-19.cs
1
using System;
2
using System.Collections.Generic;
3
4
public class Test
5
{
6
static void Bla<T, U> () where T : class, U
7
{
8
T[] ta = new T[0];
9
IEnumerable<T> ita = ta;
10
IEnumerable<U> itu = ita;
11
}
12
13
public static void Main ()
14
{
15
Bla<string, object> ();
16
}
17
}