2013-07-05 00:28:28 +08:00
|
|
|
# RUN: not modularize %s -x c++ 2>&1 | FileCheck %s
|
2015-02-19 00:14:32 +08:00
|
|
|
# RUN: not modularize %S/Inputs/ProblemsDuplicate.modulemap -x c++ 2>&1 | FileCheck %s
|
2013-03-27 02:17:28 +08:00
|
|
|
|
|
|
|
Inputs/DuplicateHeader1.h
|
|
|
|
Inputs/DuplicateHeader2.h
|
|
|
|
|
2013-03-28 09:20:19 +08:00
|
|
|
# CHECK: error: value 'TypeInt' defined at multiple locations:
|
|
|
|
# CHECK-NEXT: {{.*}}{{[/\\]}}Inputs{{[/\\]}}DuplicateHeader1.h:2:13
|
|
|
|
# CHECK-NEXT: {{.*}}{{[/\\]}}Inputs{{[/\\]}}DuplicateHeader2.h:2:13
|