1 ; RUN: not opt -S -mtriple=amdgcn-amd-amdhsa -passes=hipstdpar-select-accelerator-code \
2 ; RUN: %s 2>&1 | FileCheck %s
4 ; CHECK: error: {{.*}} in function foo void (): Accelerator does not support the ASM block:
5 ; CHECK-NEXT: {{.*}}Invalid ASM block{{.*}}
6 define amdgpu_kernel void @foo() {
8 call void @__ASM__hipstdpar_unsupported([18 x i8] c"Invalid ASM block\00")
12 declare void @__ASM__hipstdpar_unsupported([18 x i8])