1# RUN: not llvm-ifs -action write-ifs -o - %s %S/object.ifs 2>&1 | \
2# RUN: FileCheck %s --check-prefixes=CHECK-IFS
3
4# RUN: not llvm-ifs -action write-ifs -o - %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: 2.0.
9
10--- !experimental-ifs-v2
11IfsVersion:      0.0
12Triple:          x86_64-unknown-linux-gnu
13ObjectFileFormat: ELF
14Symbols:
15  - { Name: a, Type: Func }
16...
17