summaryrefslogtreecommitdiff
path: root/tests/src/Loader/classloader/rmv/il/RMV-4-3-4.il
blob: 2903411f6ecec3f66d9642766b1dd39da7cbd166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 Name must match the name of 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 53 08 0C 50 50 62 49 6E 73 74 46 69   // ....S..PPbInstFi
                                                      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
	}
}