summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Directed/coverage/importer/Desktop/subovfun1.il
blob: 4d584d4161a8081772dcfc563f658830074b37fe (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 { }
.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
}