llvm-for-llvmta/tools/clang/test/Modules/recursive_visibility.mm
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

10 lines
281 B
XML

// RUN: rm -rf %t
// RUN: %clang_cc1 -x objective-c++ -fmodules -fimplicit-module-maps -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>();