1 ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
6 !llvm.module.flags = !{!0}
8 !0 = !{i32 5, !"CG Profile", !1}
9 !1 = !{!2, !"", !3, !4, !5, !6, !7, !8}
10 !2 = !{ptr @a, ptr @b, i64 32}
11 !3 = !{ptr @a, ptr @b}
12 !4 = !{ptr @a, ptr @b, i64 32, i64 32}
13 !5 = !{!"a", ptr @b, i64 32}
14 !6 = !{ptr @a, !"b", i64 32}
15 !7 = !{ptr @a, ptr @b, !""}
16 !8 = !{ptr @a, ptr @b, null}
18 ; CHECK: expected a MDNode triple
20 ; CHECK: expected a MDNode triple
21 ; CHECK: !3 = !{ptr @a, ptr @b}
22 ; CHECK: expected a MDNode triple
23 ; CHECK: !4 = !{ptr @a, ptr @b, i64 32, i64 32}
24 ; CHECK: expected a Function or null
26 ; CHECK: expected a Function or null
28 ; CHECK: expected an integer constant
30 ; CHECK: expected an integer constant