llvm-project/clang/test/Modules/merge-var-template-def.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
375 B
C++
Raw Normal View History

// 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;