mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-21 12:35:47 -04:00

This is a followup to regression introduced in r284284. This should fix our libstdc++ modules builds. https://reviews.llvm.org/D25678 Reviewed by Richard Smith! llvm-svn: 284577
8 lines
375 B
C++
8 lines
375 B
C++
// 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;
|