diff options
Diffstat (limited to 'test/Modules/pr27890.cpp')
-rw-r--r-- | test/Modules/pr27890.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Modules/pr27890.cpp b/test/Modules/pr27890.cpp new file mode 100644 index 000000000000..8bb9a9fd5c91 --- /dev/null +++ b/test/Modules/pr27890.cpp @@ -0,0 +1,9 @@ +// RUN: rm -rf %t +// RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR27890 -verify %s +// RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR27890/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR27890 -verify %s + +#include "a.h" +enum ActionType {}; +opt<ActionType> a(values("")); + +// expected-no-diagnostics
\ No newline at end of file |