diff options
author | Martin Baulig <martin@novell.com> | 2004-09-09 15:11:32 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2004-09-09 15:11:32 +0400 |
commit | fc7e44649b7bfbdaa044cd5d19fb9680b7a0dd06 (patch) | |
tree | d67e63e16531052e87a0907b10972553252ac3f7 /mcs/errors/gcs0146.cs | |
parent | 254ab0e12f462446f3bffbf3ff55a40cc33e5b5d (diff) |
New test.
svn path=/trunk/mcs/; revision=33642
Diffstat (limited to 'mcs/errors/gcs0146.cs')
-rw-r--r-- | mcs/errors/gcs0146.cs | 14 |
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 () + { } +} |