clang/test/Modules/merge-template-specializations.cpp
raw| 1 | // RUN: rm -rf %t |
| 2 | // 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 |
| 3 | // expected-no-diagnostics |
| 4 | #include "c.h" |
| 5 | X x; |
| 6 | |
| 7 | void test_var_template() { |
| 8 | use_var_template<int>(0); |
| 9 | } |