xref: /llvm-project/llvm/test/tools/llvm-ifs/conflict-header-version.ifs (revision 5e171cebd3bafbf39cdad6294fe26c3952aedbc3)
1# RUN: not llvm-ifs --input-format=IFS --output-ifs - %s %S/object.ifs 2>&1 | \
2# RUN: FileCheck %s --check-prefixes=CHECK-IFS
3
4# RUN: not llvm-ifs --input-format=IFS --output-ifs - %s 2>&1 | \
5# RUN: FileCheck %s --check-prefixes=CHECK-IFS2
6
7# CHECK-IFS: error: Interface Stub: IfsVersion Mismatch.
8# CHECK-IFS2: error: Interface Stub: Bad IfsVersion: 0.0, llvm-ifs supported version: 3.0.
9
10--- !ifs-v1
11IfsVersion:      0.0
12Target:          x86_64-unknown-linux-gnu
13Symbols:
14  - { Name: a, Type: Func }
15...
16