xref: /llvm-project/clang/test/Modules/pr27890.cpp (revision cc218abe34eace89f1e18a13b768042b77a97283)
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR27890 -verify %s
3 // 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
4 
5 #include "a.h"
6 enum ActionType {};
7 opt<ActionType> a(values(""));
8 
9 // expected-no-diagnostics