aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/cpp/class_newline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/cpp/class_newline.cpp')
-rw-r--r--tests/indent/cpp/class_newline.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/indent/cpp/class_newline.cpp b/tests/indent/cpp/class_newline.cpp
new file mode 100644
index 000000000..084d3026b
--- /dev/null
+++ b/tests/indent/cpp/class_newline.cpp
@@ -0,0 +1,9 @@
+class Foo
+{
+ int x;
+ class Bar
+ {
+ int y;
+ };
+ Bar z;
+};