repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
test-primary-ctor-03.cs
blob
36df2c3ad406cb2cd2af9639d32a96486c64666b
1
// Compiler options: -langversion:experimental
2
class
D
(
string
arg
) :
Base
(
arg
)
3
{
4
}
5
6
abstract class
Base
(
object
obj
)
7
{
8
public string
Prop { get; }
=
obj
.
ToString
();
9
}
10
11
class
X
12
{
13
public static int
Main
()
14
{
15
var
d
=
new
D
(
"test"
);
16
if
(
d
.
Prop
!=
"test"
)
17
return
1
;
18
19
return
0
;
20
}
21
}