1 ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
3 define 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