diff options
Diffstat (limited to 'tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.il')
-rw-r--r-- | tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.il | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.il b/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.il new file mode 100644 index 0000000000..1ccf50fd38 --- /dev/null +++ b/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.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 a property is specified, the name must match a property and not a field + +.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 54 08 0C 50 75 62 49 6E 73 74 46 69 // ....S..PubInstFi + 65 6C 64 03 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 + } +} |