You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
397 B
9 lines
397 B
# RUN: not modularize %s -x c++ 2>&1 | FileCheck %s
|
|
# RUN: not modularize %S/Inputs/ProblemsDuplicate.modulemap -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 |