diff options
Diffstat (limited to 'clang/test/Modules/pr25501.cpp')
-rw-r--r-- | clang/test/Modules/pr25501.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Modules/pr25501.cpp b/clang/test/Modules/pr25501.cpp new file mode 100644 index 00000000000..18002d6dff3 --- /dev/null +++ b/clang/test/Modules/pr25501.cpp @@ -0,0 +1,9 @@ +// RUN: rm -rf %t +// RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR25501/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR25501 -verify %s + +#include "a2.h" +#include "b.h" + +auto use = aaa; + +// expected-no-diagnostics |