diff options
Diffstat (limited to 'tests/src/Loader/classloader/rmv/il/RMV-4-3-8.il')
-rw-r--r-- | tests/src/Loader/classloader/rmv/il/RMV-4-3-8.il | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.il b/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.il new file mode 100644 index 0000000000..4344a51559 --- /dev/null +++ b/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.il @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +.assembly extern System.Console { } +// Check that if NumElem is not present for a NamedArg that there must be only one occurance of val + +.assembly extern 'RMV-4-CA'{} +.assembly extern mscorlib {} + +.assembly 'RMV-4-1-6a'{ + .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 53 08 0C 50 75 62 49 6E 73 74 46 69 // ....S..PubInstFi + 65 6C 64 03 00 00 00 01 00 00 00) // eld.... +} + +.class CMain extends [mscorlib]System.Object{ + .method public static int32 Main(){ + .entrypoint + ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" + call void [System.Console]System.Console::WriteLine(string) + ldc.i4 100 + ret + } +} |