1# RUN: not modularize %s -x c++ 2>&1 | FileCheck %s
2# RUN: not modularize %S/Inputs/ProblemsDuplicate.modulemap -x c++ 2>&1 | FileCheck %s
3
4Inputs/DuplicateHeader1.h
5Inputs/DuplicateHeader2.h
6
7# CHECK: error: value 'TypeInt' defined at multiple locations:
8# CHECK-NEXT:    {{.*}}{{[/\\]}}Inputs{{[/\\]}}DuplicateHeader1.h:2:13
9# CHECK-NEXT:    {{.*}}{{[/\\]}}Inputs{{[/\\]}}DuplicateHeader2.h:2:13