2 // RUN: %clang_cc1 -I%S/Inputs/merge-var-template-def -std=c++11 -verify %s
3 // RUN: %clang_cc1 -I%S/Inputs/merge-var-template-def -std=c++11 -verify -fmodules -Werror=undefined-internal -fmodules-local-submodule-visibility -fmodules-cache-path=%t -fimplicit-module-maps %s
4 // expected-no-diagnostics
7 const bool *y
= &S
<bool, false>::value
;