16 lines · plain
1# RUN: not %clang -emit-merged-ifs -emit-interface-stubs -o - %s %S/func.ifs 2>&1 | \2# RUN: FileCheck %s --check-prefixes=CHECK-IFS3 4# Here we are testing to see if two symbols with identical names will fail to5# 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 Func9 10--- !ifs-v111IfsVersion: 3.012Target: x86_64-linux-gnu13Symbols:14 - { Name: a, Type: Object, Size: 1 }15...16