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:
authorMartin Baulig <martin@novell.com>2004-09-09 15:11:32 +0400
committerMartin Baulig <martin@novell.com>2004-09-09 15:11:32 +0400
commitfc7e44649b7bfbdaa044cd5d19fb9680b7a0dd06 (patch)
treed67e63e16531052e87a0907b10972553252ac3f7 /mcs/errors/gcs0146.cs
parent254ab0e12f462446f3bffbf3ff55a40cc33e5b5d (diff)
New test.
svn path=/trunk/mcs/; revision=33642
Diffstat (limited to 'mcs/errors/gcs0146.cs')
-rw-r--r--mcs/errors/gcs0146.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/gcs0146.cs b/mcs/errors/gcs0146.cs
new file mode 100644
index 00000000000..f357932c810
--- /dev/null
+++ b/mcs/errors/gcs0146.cs
@@ -0,0 +1,14 @@
+// CS0146: Class definition is circular: `A`1'
+// Line: 3
+class A<T> : B<int>
+{
+}
+
+class B<T> : A<float>
+{ }
+
+class X
+{
+ static void Main ()
+ { }
+}