Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-11-22 11:33:12 +0300
committerMarek Safar <marek.safar@gmail.com>2004-11-22 11:33:12 +0300
commit93c52abf2906198aa1628bf0910e0c0f7c488a44 (patch)
tree5b1750f4ca92989b4e58a82bc89850158e3e8fe1 /mcs/errors/cs0664-2.cs
parent4a35c942b928e2125d93cc414f5819927a9c8eee (diff)
new test
svn path=/trunk/mcs/; revision=36374
Diffstat (limited to 'mcs/errors/cs0664-2.cs')
-rw-r--r--mcs/errors/cs0664-2.cs9
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;
+ }
+}