summaryrefslogtreecommitdiff
path: root/Tests/CompileFeatures/cxx_strong_enums.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 00:02:54 +0200
committerStephen Kelly <steveire@gmail.com>2014-04-08 11:05:54 +0200
commit8d3467636c4fad32c25390244a62e58e068c33ad (patch)
tree9c4f9a1cefe548bd38fd72f3bfebdd5e3e97b8ee /Tests/CompileFeatures/cxx_strong_enums.cpp
parent0caf08e43ef405a879393cb3a4bae0b6b87e26b6 (diff)
downloadcmake-8d3467636c4fad32c25390244a62e58e068c33ad.tar.gz
Features: Add cxx_strong_enums.
Diffstat (limited to 'Tests/CompileFeatures/cxx_strong_enums.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_strong_enums.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_strong_enums.cpp b/Tests/CompileFeatures/cxx_strong_enums.cpp
new file mode 100644
index 0000000000..6262456661
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_strong_enums.cpp
@@ -0,0 +1,7 @@
+
+enum class Colors
+{
+ RedColor,
+ GreenColor,
+ BlueColor
+};