summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_nonstatic_member_init.cpp
diff options
context:
space:
mode:
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;
+};