projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge
[mono.git]
/
mcs
/
tests
/
test-ps-016.play
1
package
\r
2
{
\r
3
public class ObjectInitializer
\r
4
{
\r
5
public static function Main ():int
\r
6
{
\r
7
var o:Object = { type:"Flat Panel", resolution:"1600x1200", value:3, value:5 };
\r
8
if (o.value != 3)
\r
9
return 1;
\r
10
\r
11
if (o.type != "Flat Panel")
\r
12
return 2;
\r
13
\r
14
var o2:* = { };
\r
15
\r
16
return 0;
\r
17
}
\r
18
}
\r
19
}