diff options
author | Jb Evain <jbevain@gmail.com> | 2005-08-30 18:20:04 +0400 |
---|---|---|
committer | Jb Evain <jbevain@gmail.com> | 2005-08-30 18:20:04 +0400 |
commit | 7d48dd99184c3179dafc4b256842599d78ccd0ee (patch) | |
tree | da61effe2d1a7e5cbcfcbcceedae15271898bc8f /mcs/tests/test-450.cs | |
parent | 2e6cbe1351d07adcbdf95c7cf1cbabd7221e36de (diff) |
2005-08-30 Jb Evain <jbevain@gmail.com>
* test-450.cs: new test for as expression in
custom attribute constructors.
svn path=/trunk/mcs/; revision=49127
Diffstat (limited to 'mcs/tests/test-450.cs')
-rw-r--r-- | mcs/tests/test-450.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/test-450.cs b/mcs/tests/test-450.cs new file mode 100644 index 00000000000..137e4a49298 --- /dev/null +++ b/mcs/tests/test-450.cs @@ -0,0 +1,21 @@ +// +// This is a test for as expression +// in custom attribute constructors +// + +using System; + +class MyAttribute : Attribute { + + public MyAttribute (string s) + { + } +} + +[My (null as string)] +class X { + + static void Main () + { + } +} |