minix/external/bsd/llvm/dist/clang/test/Modules/recursive_visibility.mm

10 lines
258 B
Text
Raw Normal View History

// RUN: rm -rf %t
// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11
// expected-no-diagnostics
@import recursive_visibility_c;
template<typename T> struct Z { typedef T type; };
template void g<Z>();