| 1 |
# RUN: not %clang -emit-merged-ifs -emit-interface-stubs -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 |
--- !ifs-v1 |
| 11 |
IfsVersion: 3.0 |
| 12 |
Target: x86_64-linux-gnu |
| 13 |
Symbols: |
| 14 |
- { Name: a, Type: Object, Size: 1 } |
| 15 |
... |