aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/merge-template-specializations.cpp
blob: 1f8e68a2e925a42dfa5b53fdda643d1ce1e70413 (plain)
1
2
3
4
5
6
7
8
9
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -fmodules-local-submodule-visibility -I%S/Inputs/merge-template-specializations -std=c++11 -verify %s
// expected-no-diagnostics
#include "c.h"
X x;

void test_var_template() {
  use_var_template<int>(0);
}