projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-02-06 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git]
/
mono
/
tests
/
verifier
/
valid_merge_second_value_is_base_type.cs
1
using System;
2
using System.Reflection;
3
using System.Reflection.Emit;
4
5
public class Parent {
6
7
}
8
9
public class Foo : Parent {
10
11
}
12
13
public class Bar : Parent {
14
15
}
16
class Driver {
17
18
19
public static int Main (string[] args) {
20
Parent p;
21
Foo f = new Foo();
22
Parent b = new Parent();
23
p = args == null? (Parent) f : (Parent) b;
24
25
return 1;
26
}
27
}