diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-03-29 20:46:08 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-03-29 20:46:08 +0400 |
commit | ce6dfca587f29e770f3b3a13903f6de81fc26529 (patch) | |
tree | bb66b8de28dba6ec5d13ceddf781af2be030d21a /mcs/errors/cs0619-13.cs | |
parent | 4c611013876fb718d58df7bf64f230953eec3646 (diff) |
2004-03-29 Marek Safar <marek.safar@seznam.cz>
* cs0029-3.cs,
cs0173-2.cs,
cs0619-{2-26}.cs,
cs0672.cs: 29 new error tests.
svn path=/trunk/mcs/; revision=24715
Diffstat (limited to 'mcs/errors/cs0619-13.cs')
-rw-r--r-- | mcs/errors/cs0619-13.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs0619-13.cs b/mcs/errors/cs0619-13.cs new file mode 100644 index 00000000000..3f4304b12cb --- /dev/null +++ b/mcs/errors/cs0619-13.cs @@ -0,0 +1,13 @@ +// cs0619.cs: 'Obsolete' is obsolete: '' +// Line: 11 + +[System.Obsolete("", true)] +class Obsolete { +} + +class MainClass { + public static void Main () + { + System.Type t = typeof (Obsolete); + } +}
\ No newline at end of file |