Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2010-05-17 13:53:20 +0400
committerMarek Safar <marek.safar@gmail.com>2010-05-17 13:53:20 +0400
commitf06ff7c5b3866b428ac78cb34d026e087e877ebf (patch)
tree98cd947bfdccbc1961688524ef42c61b0da756b0 /mcs/tests/test-767.cs
parent33f4608d23a3e5831aa180192916d73bb5174d45 (diff)
New tests.
svn path=/trunk/mcs/; revision=157425
Diffstat (limited to 'mcs/tests/test-767.cs')
-rw-r--r--mcs/tests/test-767.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/tests/test-767.cs b/mcs/tests/test-767.cs
new file mode 100644
index 00000000000..25ea6ccb88f
--- /dev/null
+++ b/mcs/tests/test-767.cs
@@ -0,0 +1,22 @@
+class Test
+{
+ public static int Foo ()
+ {
+ return 5;
+ }
+
+ public static void Main ()
+ {
+ }
+}
+
+struct S
+{
+ static int v = Test.Foo ();
+
+ Test Test {
+ get {
+ return new Test ();
+ }
+ }
+}