blob: c7ab2f49687134dccfd5d8ffcaf1ed207940da3d [file] [log] [blame]
Vedant Kumar7840e602018-09-20 18:59:33 +00001; AppleClang-700 uses a debug info version that isn't recognized by llvm.org
2; compilers. However, it does produce valid bitcode which should parse without
3; crashing the metadata loader.
4
5RUN: llvm-dis < %S/Inputs/apple-clang-700-O3-g-1.bc 2>&1 \
6RUN: | FileCheck %s -check-prefix INVALID-VERSION
7
8INVALID-VERSION: warning: ignoring debug info with an invalid version (700000003)