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
4 Inputs/DuplicateHeader1.h
5 Inputs/DuplicateHeader2.h
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