// RUN: dsymutil -f -oso-prepend-path=%p/../Inputs/modules-pruning \ // RUN: -verify \ // RUN: -y %p/dummy-debug-map.map -o - \ // RUN: | llvm-dwarfdump --name isRef -p - | FileCheck %s /* Compile with: cat >modules.modulemap < struct is_reference : false_type {}; template struct is_reference : true_type {}; template class Template { public: static const bool isRef = is_reference::value; Template() {} }; } #else #include "template.h" void foo() { M::Template TB1; TB1.isRef; } #endif