diff options
Diffstat (limited to 'test/Modules/pr27739.cpp')
| -rw-r--r-- | test/Modules/pr27739.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Modules/pr27739.cpp b/test/Modules/pr27739.cpp new file mode 100644 index 000000000000..b27dc1b09371 --- /dev/null +++ b/test/Modules/pr27739.cpp @@ -0,0 +1,12 @@ +// 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 |
