[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CXX / basic / basic.lookup / basic.lookup.argdep / p2-template-id.cpp
blobeda869b9934df4e8ed15fe9caf507ca8005581c3
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 namespace N1 {
5 struct X { };
6 int& f(void*);
9 namespace N2 {
10 template<typename T> struct Y { };
13 namespace N3 {
14 void test() {
15 int &ir = f((N2::Y<N1::X>*)0);
19 int g(void *);
20 long g(N1::X);
22 namespace N1 {
23 void h(int (*)(void *));
26 void test() {
27 h((&g));