summaryrefslogtreecommitdiffstats
path: root/test/Modules/nested-template-default-arg-redecl.cpp
blob: 55568f8711d0f1d854d14810958eac23861e4b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: rm -rf %t
// RUN: %clang_cc1 -x c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
// RUN:     -I %S/Inputs/nested-template-default-arg-redecl -std=c++14 \
// RUN:     -fmodules-local-submodule-visibility -w -verify %s

// expected-no-diagnostics

#include "alias2.h"
#include "var2.h"
#include "strct2.h"
#include "func2.h"

auto var = &var_outer::var<>;
auto func = &func_outer::func<>;
strct_outer::strct<> *strct;
alias_outer::alias<> *alias;