xref: /llvm-project/llvm/test/Bitcode/apple-clang-700-compat.test (revision 386ad01c7b6d83beb95267116af295471e36d426)
1; 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)
9