summaryrefslogtreecommitdiffstats
path: root/testing/071_enum_in_anon_ns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/071_enum_in_anon_ns.cpp')
-rw-r--r--testing/071_enum_in_anon_ns.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/071_enum_in_anon_ns.cpp b/testing/071_enum_in_anon_ns.cpp
new file mode 100644
index 0000000..a5b9ac8
--- /dev/null
+++ b/testing/071_enum_in_anon_ns.cpp
@@ -0,0 +1,12 @@
+// objective: test that enum values in anonymous namespaces produce no warning
+// check: namespace_a_namespace_1_1_0D0.xml
+
+namespace ANamespace { namespace {
+
+enum class Boolean {
+ False,
+ True,
+ FileNotFound
+};
+
+}}