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 <masafa@microsoft.com>2016-08-10 16:54:04 +0300
committerMarek Safar <masafa@microsoft.com>2016-08-10 16:54:04 +0300
commita350474b32d30ff6ec965469feb05cf80cd5f955 (patch)
tree43e654da9a78ef7f55441160ae670f38db981995 /mcs/tests/test-939.cs
parent6e17b26ef522006054976d29fa77e71638af73f5 (diff)
[mcs] Report second level references mismatch only for really used references. Fixes #42702
Diffstat (limited to 'mcs/tests/test-939.cs')
-rw-r--r--mcs/tests/test-939.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/test-939.cs b/mcs/tests/test-939.cs
new file mode 100644
index 00000000000..7d83ddf697d
--- /dev/null
+++ b/mcs/tests/test-939.cs
@@ -0,0 +1,14 @@
+// Compiler options: -r:dlls/test-939-1/test-939-ref.dll -r:dlls/test-939-2/test-939-lib.dll -r:dlls/test-939-common.dll
+
+class X
+{
+ public static void Main ()
+ {
+ }
+
+ static void RealTest ()
+ {
+ A.Foo ();
+ new B ();
+ }
+} \ No newline at end of file