1// RUN: rm -rf %t
2// RUN: %clang_cc1 -x objective-c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11
3
4// expected-no-diagnostics
5
6@import recursive_visibility_c;
7
8template<typename T> struct Z { typedef T type; };
9template void g<Z>();
10