diff options
Diffstat (limited to 'test/Modules/merge-var-template-def.cpp')
| -rw-r--r-- | test/Modules/merge-var-template-def.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Modules/merge-var-template-def.cpp b/test/Modules/merge-var-template-def.cpp new file mode 100644 index 0000000000000..97a72a194d9d0 --- /dev/null +++ b/test/Modules/merge-var-template-def.cpp @@ -0,0 +1,7 @@ +// RUN: rm -rf %t +// RUN: %clang_cc1 -I%S/Inputs/merge-var-template-def -std=c++11 -verify %s +// 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 +// expected-no-diagnostics + +#include "b2.h" +const bool *y = &S<bool, false>::value; |
