summaryrefslogtreecommitdiff
path: root/test/Modules/pr31469.cpp
blob: 8f7d52285c875c6438c4fdd0151e8f7fe373a155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: rm -rf %t
// RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR31469 -verify %s
// RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR31469 -fmodules -fmodules-local-submodule-visibility \
// RUN:    -fimplicit-module-maps -fmodules-cache-path=%t  -verify %s

#include "textual.h"
#include "empty.h"

namespace A {
  template <class _Tp> void f();
}

A::list<int> use;

// expected-no-diagnostics