summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Directed/coverage/importer/Desktop/subovfun1.il
blob: 014222a0090e6039a14d898e52916d02deaa878a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.


.assembly extern legacy library mscorlib {}
.assembly subovfun1 {.custom instance void [mscorlib]System.Security.SecurityRulesAttribute::.ctor(valuetype [mscorlib]System.Security.SecurityRuleSet) = ( 01 00 01 00 00 ) }
.method public static uint32 f(uint32 arg)
{
ldarg.0
ldc.i4 1
sub.ovf.un
ret
}
.method public static int32 Main()
{
.entrypoint
ldc.i4 101
call uint32 f(uint32)
conv.i4
ret
}