diff options
author | Martin Baulig <martin@novell.com> | 2005-12-08 20:11:21 +0300 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2005-12-08 20:11:21 +0300 |
commit | a516b8cf9aa976a560237567fb834fe03ac3eca2 (patch) | |
tree | 9ac90b5635b8864f3538a5e4048f2a8462c13779 /mcs/errors | |
parent | 1bcb962b2fe7949edb7b30a843b3f3efdb1d84cf (diff) |
New CS1547 test case.
svn path=/trunk/mcs/; revision=54115
Diffstat (limited to 'mcs/errors')
-rw-r--r-- | mcs/errors/gcs1547.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/gcs1547.cs b/mcs/errors/gcs1547.cs new file mode 100644 index 00000000000..62c7846b1be --- /dev/null +++ b/mcs/errors/gcs1547.cs @@ -0,0 +1,12 @@ +// CS1547: Keyword `void' cannot be used in this context +// Line: 10 +class Foo<T> +{ } + +class X +{ + static void Main () + { + Foo<void> foo; + } +} |