projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mcs] Initial by ref returns and variables support
[mono.git]
/
mcs
/
errors
/
cs8172.cs
diff --git a/mcs/errors/cs8172.cs
b/mcs/errors/cs8172.cs
new file mode 100644
(file)
index 0000000..
7ddd383
--- /dev/null
+++ b/
mcs/errors/cs8172.cs
@@ -0,0
+1,12
@@
+// CS8172: Cannot initialize a by-reference variable `j' with a value
+// Line: 10
+
+class X
+{
+ static int f;
+
+ public static void Main ()
+ {
+ ref int j = f;
+ }
+}
\ No newline at end of file