[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / COFF / cv-errors.s
blobe3d5d98c25d8d8ca06dbc8221235e0644016a984
1 # RUN: not llvm-mc -triple=i686-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s
3 .text
4 foo:
5 .cv_file a
6 # CHECK: error: expected file number in '.cv_file' directive
7 # CHECK-NOT: error:
8 .cv_file 0 "t.cpp"
9 # CHECK: error: file number less than one
10 # CHECK-NOT: error:
11 .cv_func_id x
12 # CHECK: error: expected function id in '.cv_func_id' directive
13 # CHECK-NOT: error:
14 .cv_func_id -1
15 # CHECK: error: expected function id in '.cv_func_id' directive
16 # CHECK-NOT: error:
17 .cv_func_id 0xFFFFFFFFFFFFFFFF
18 # CHECK: error: expected function id within range [0, UINT_MAX)
19 # CHECK-NOT: error:
20 .cv_inline_site_id x
21 # CHECK: error: expected function id in '.cv_inline_site_id' directive
22 # CHECK-NOT: error:
24 .cv_file 1 "t.cpp"
25 .cv_func_id 0
27 .cv_inline_site_id 0 0 0 0 0 0
28 # CHECK: error: expected 'within' identifier in '.cv_inline_site_id' directive
29 # CHECK-NOT: error:
31 .cv_inline_site_id 0 within a
32 # CHECK: error: expected function id in '.cv_inline_site_id' directive
33 # CHECK-NOT: error:
35 .cv_inline_site_id 0 within 0 x
36 # CHECK: error: expected 'inlined_at' identifier in '.cv_inline_site_id' directive
37 # CHECK-NOT: error:
39 .cv_inline_site_id 0 within 0 inlined_at 0 0 0
40 # CHECK: error: file number less than one in '.cv_inline_site_id' directive
41 # CHECK-NOT: error:
43 .cv_inline_site_id 0 within 0 inlined_at 10 0 0
44 # CHECK: error: unassigned file number in '.cv_inline_site_id' directive
45 # CHECK-NOT: error:
47 .cv_inline_site_id 0 within 0 inlined_at 1 1 1
48 # CHECK: error: function id already allocated
49 # CHECK-NOT: error:
51 .cv_inline_site_id 1 within 0 inlined_at 1 1 1
53 .cv_loc 0 1 1 1 # t.cpp:1:1
54 nop
55 .cv_loc 1 1 1 1 # t.cpp:1:1
56 nop