xref: /llvm-project/llvm/test/tools/llvm-nm/libtool-version.test (revision cae3b831f4304d4487dd7c767ff88face51ea0dc)
1# Check that the output of llvm-nm -V (and --version) contains the text
2# "GNU" somewhere, to let libtool know that it is compatible with GNU nm.
3# Also check that it contains the LLVM version.
4
5RUN: llvm-nm -V | FileCheck %s
6RUN: llvm-nm --version | FileCheck %s
7CHECK: GNU
8CHECK: LLVM version
9