mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 16:56:07 +00:00

In case of template instantiations query the template instantiation pattern, which had actually '=default'. Fixes https://llvm.org/bugs/show_bug.cgi?id=27739 Patch reviewed by Richard Smith. llvm-svn: 270553
13 lines
434 B
C++
13 lines
434 B
C++
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -std=c++11 -internal-externc-isystem %S/Inputs/PR27739 -verify %s
|
|
// RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR27739/module.modulemap -fmodules-cache-path=%t -internal-externc-isystem %S/Inputs/PR27739/ -verify %s
|
|
|
|
#include "DataInputHandler.h"
|
|
|
|
void DataInputHandler::AddTree() {
|
|
fInputTrees[(char*)""];
|
|
fExplicitTrainTest[(char*)""];
|
|
}
|
|
|
|
// expected-no-diagnostics
|