1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR31469 -verify %s
3 // RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR31469 -fmodules -fmodules-local-submodule-visibility \
4 // RUN:    -fimplicit-module-maps -fmodules-cache-path=%t  -verify %s
5 
6 #include "textual.h"
7 #include "empty.h"
8 
9 namespace A {
10   template <class _Tp> void f();
11 }
12 
13 A::list<int> use;
14 
15 // expected-no-diagnostics
16