diff options
Diffstat (limited to 'test/Import/enum/test.cpp')
-rw-r--r-- | test/Import/enum/test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Import/enum/test.cpp b/test/Import/enum/test.cpp new file mode 100644 index 0000000000000..aa68063cb2079 --- /dev/null +++ b/test/Import/enum/test.cpp @@ -0,0 +1,4 @@ +// RUN: clang-import-test -import %S/Inputs/S.cpp -expression %s +void expr() { + static_assert(E::a + E::b == 3); +} |