summary refs log tree commit diff stats
path: root/tests/cpp/enum.hpp
diff options
context:
space:
mode:
authorJasper Jenkins <jasper.vs.jenkins@gmail.com>2020-03-17 02:47:27 -0700
committerGitHub <noreply@github.com>2020-03-17 10:47:27 +0100
commit6a23452bf4f386a57bcbb4e99c8d27149fe1d10b (patch)
tree170fca08087708a0386f53c2fe5794a58de9fd6b /tests/cpp/enum.hpp
parentbec0522fca2fcaf57fd2c5b4ba6f43ccf47b7b32 (diff)
downloadNim-6a23452bf4f386a57bcbb4e99c8d27149fe1d10b.tar.gz
fix sets of scoped imported enums (#13666)
Diffstat (limited to 'tests/cpp/enum.hpp')
-rw-r--r--tests/cpp/enum.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cpp/enum.hpp b/tests/cpp/enum.hpp
new file mode 100644
index 000000000..268999d68
--- /dev/null
+++ b/tests/cpp/enum.hpp
@@ -0,0 +1,3 @@
+namespace namespaced {
+enum Enum { A, B, C };
+}