Clang Project

clang_source_code/test/Modules/pr31469.cpp
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
9namespace A {
10  template <class _Tp> void f();
11}
12
13A::list<int> use;
14
15// expected-no-diagnostics
16