clang/test/Modules/nested-template-default-arg-redecl.cpp
raw| 1 | // RUN: rm -rf %t |
| 2 | // RUN: %clang_cc1 -x c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \ |
| 3 | // RUN: -I %S/Inputs/nested-template-default-arg-redecl -std=c++14 \ |
| 4 | // RUN: -fmodules-local-submodule-visibility -w -verify %s |
| 5 | |
| 6 | // expected-no-diagnostics |
| 7 | |
| 8 | #include "alias2.h" |
| 9 | #include "var2.h" |
| 10 | #include "strct2.h" |
| 11 | #include "func2.h" |
| 12 | |
| 13 | auto var = &var_outer::var<>; |
| 14 | auto func = &func_outer::func<>; |
| 15 | strct_outer::strct<> *strct; |
| 16 | alias_outer::alias<> *alias; |