1 ; RUN: rm -rf %t && split-file %s %t && cd %t
3 ; CHECK: either both or no 'aarch64-elf-pauthabi-platform' and 'aarch64-elf-pauthabi-version' module flags must be present
7 ; RUN: not llvm-as err1.ll -o /dev/null 2>&1 | FileCheck %s
9 !llvm.module.flags = !{!0}
11 !0 = !{i32 1, !"aarch64-elf-pauthabi-platform", i32 2}
15 ; RUN: not llvm-as err2.ll -o /dev/null 2>&1 | FileCheck %s
17 !llvm.module.flags = !{!0}
19 !0 = !{i32 1, !"aarch64-elf-pauthabi-version", i32 31}