xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/recursive_visibility.mm (revision 0b98e8aad89f2bd4ba80b523d73cf29e9dd82ce1)
1// RUN: rm -rf %t
2// RUN: %clang_cc1 -x objective-c++ -fmodules -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