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>2014-08-26 19:13:41 +0400
committerMarek Safar <marek.safar@gmail.com>2014-08-26 19:13:41 +0400
commitf0afe2f9c4d698bb884b0ea17b92550abf849e13 (patch)
tree98d8b0b48adab23266785866f17248c2667c74a5 /mcs/tests/test-792-lib.il
parentc106cdc775792ceedda6da58de7471f9f5c0b86c (diff)
[mcs] Predefined attibutes can have unresolved parameter types.
Diffstat (limited to 'mcs/tests/test-792-lib.il')
-rw-r--r--mcs/tests/test-792-lib.il15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-792-lib.il b/mcs/tests/test-792-lib.il
index 175c506ad68..629fd98107f 100644
--- a/mcs/tests/test-792-lib.il
+++ b/mcs/tests/test-792-lib.il
@@ -26,6 +26,21 @@
}
}
+.class public auto ansi beforefieldinit A2
+ extends [mscorlib]System.Attribute
+{
+
+ .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype ['missing-lib']System.AttributeTargets) = (01 00 80 00 00 00 00 00 ) // ........
+
+ .method public hidebysig specialname rtspecialname
+ instance void .ctor() cil managed
+ {
+ ldarg.0
+ call instance void [mscorlib]System.Attribute::.ctor()
+ ret
+ }
+}
+
.class public auto ansi beforefieldinit X extends [mscorlib]System.Object
{
.custom instance void A::.ctor(class [mscorlib]System.Type) = ( 01 00 44 58 58 2C 20 62 75 67 2D 31 2D 6C 69 62 // ..DXX, missing-lib