summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_nonstatic_member_init.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 17:29:17 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:55 (GMT)
commitbd2a025eb0ec26dc32d6eb4c9c3da22f68608b27 (patch)
treec374f465b26bd93f7e1de1801eb959b476bf0586 /Tests/CompileFeatures/cxx_nonstatic_member_init.cpp
parent15cdf6f51dde9a394ffc7a398e201e59cc959111 (diff)
downloadCMake-bd2a025eb0ec26dc32d6eb4c9c3da22f68608b27.zip
CMake-bd2a025eb0ec26dc32d6eb4c9c3da22f68608b27.tar.gz
CMake-bd2a025eb0ec26dc32d6eb4c9c3da22f68608b27.tar.bz2
Features: Add cxx_nonstatic_member_init.
Diffstat (limited to 'Tests/CompileFeatures/cxx_nonstatic_member_init.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_nonstatic_member_init.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_nonstatic_member_init.cpp b/Tests/CompileFeatures/cxx_nonstatic_member_init.cpp
new file mode 100644
index 0000000..6b7fa70
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_nonstatic_member_init.cpp
@@ -0,0 +1,4 @@
+class A
+{
+ int m_i = 42;
+};