[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs1644-55.cs
diff --git a/mcs/errors/cs1644-55.cs b/mcs/errors/cs1644-55.cs
new file mode 100644 (file)
index 0000000..58384a6
--- /dev/null
@@ -0,0 +1,11 @@
+// CS1644: Feature `byref locals and returns' cannot be used because it is not part of the C# 6.0 language specification
+// Line: 9
+// Compiler options: -langversion:6
+
+class Text
+{
+       static ref long Foo ()
+       {
+               throw new System.NotImplementedException ();
+       }
+}