diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-11-22 11:33:12 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-11-22 11:33:12 +0300 |
commit | 93c52abf2906198aa1628bf0910e0c0f7c488a44 (patch) | |
tree | 5b1750f4ca92989b4e58a82bc89850158e3e8fe1 /mcs/errors/cs0664-2.cs | |
parent | 4a35c942b928e2125d93cc414f5819927a9c8eee (diff) |
new test
svn path=/trunk/mcs/; revision=36374
Diffstat (limited to 'mcs/errors/cs0664-2.cs')
-rw-r--r-- | mcs/errors/cs0664-2.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0664-2.cs b/mcs/errors/cs0664-2.cs new file mode 100644 index 00000000000..531a1b0533f --- /dev/null +++ b/mcs/errors/cs0664-2.cs @@ -0,0 +1,9 @@ +// cs0664.cs: Literal of type double cannot be implicitly converted to type 'decimal'. Add suffix 'm' to create a literal of this type +// Line: 7
+ +class X { + void A () + { + decimal d = 2.0; + } +} |