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