1 ; RUN: llc -mtriple=amdgcn-amd-amdhsa --amdhsa-code-object-version=2 -filetype=obj -o - < %s | llvm-readelf --notes - | FileCheck %s
3 ; Make sure llc does not crash for invalid opencl version metadata.
6 ; CHECK: Version: [ 1, 0 ]
9 !opencl.ocl.version = !{}