1 # RUN: not llvm-ifs -action write-ifs -o - %s %S/func.ifs 2>&1 | \
2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS
4 # Here we are testing to see if two symbols with identical names will fail to
5 # merge in conflict due to one being weak and one not. Eventually this will work
6 # when llvm-ifs has support for resolving these kinds of conflicts.
7 # CHECK-IFS: error: Interface Stub: Weak Mismatch for a.
8 # CHECK-IFS-NEXT: Filename:
9 # CHECK-IFS-NEXT: Weak Values: 1 0
11 --- !experimental-ifs-v1
13 Triple: x86_64-unknown-linux-gnu
16 a: { Type: Func, Weak: true }