1# RUN: not llvm-ifs -action write-ifs -o - %s %S/func.ifs 2>&1 | \
2# RUN: FileCheck %s --check-prefixes=CHECK-IFS
3
4# Here we are testing to see if two symbols with identical names will fail to
5# merge in conflict due to mismatched types.
6# CHECK-IFS: error: Interface Stub: Type Mismatch for a.
7# CHECK-IFS-NEXT: Filename:
8# CHECK-IFS-NEXT: Type Values: Object Func
9
10--- !experimental-ifs-v2
11IfsVersion: 2.0
12Triple: x86_64-unknown-linux-gnu
13ObjectFileFormat: ELF
14Symbols:
15  - { Name: a, Type: Object, Size: 1 }
16...
17