summaryrefslogtreecommitdiffstats
path: root/test/modularize/ProblemsDuplicate.modularize
blob: e53657ca94e85a62fa85290987da3653e24cedfe (plain)
1
2
3
4
5
6
7
8
# RUN: modularize %s -x c++ 2>&1 | FileCheck %s

Inputs/DuplicateHeader1.h
Inputs/DuplicateHeader2.h

# CHECK: error: value 'TypeInt' defined at multiple locations:
# CHECK-NEXT:    {{.*}}{{[/\\]}}Inputs{{[/\\]}}DuplicateHeader1.h:2:13
# CHECK-NEXT:    {{.*}}{{[/\\]}}Inputs{{[/\\]}}DuplicateHeader2.h:2:13