1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s 2 3define void @test(ptr %p) { 4; CHECK: Access scope list contains invalid access scope 5 load i8, ptr %p, !llvm.access.group !1 6; CHECK: Access scope list must consist of MDNodes 7 load i8, ptr %p, !llvm.access.group !2 8; CHECK-NOT: Access scope 9 load i8, ptr %p, !llvm.access.group !3 10 load i8, ptr %p, !llvm.access.group !4 11 ret void 12} 13 14!0 = !{} 15!1 = !{!0} 16!2 = !{!"foo"} 17!3 = distinct !{} 18!4 = !{!3} 19