summaryrefslogtreecommitdiff
path: root/src/testdir/test3.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-08-06 17:44:14 +0200
committerBram Moolenaar <Bram@vim.org>2014-08-06 17:44:14 +0200
commit04d17ae1678846c4857cd86cf3eaf47d60c04c85 (patch)
tree124d23d766325e5ddc7d79ee3ed8547dff7e13d9 /src/testdir/test3.in
parent9b352c46f0604288087c629381158e3e80943fbe (diff)
downloadvim-git-04d17ae1678846c4857cd86cf3eaf47d60c04c85.tar.gz
updated for version 7.4.395v7.4.395
Problem: C indent is wrong below an if with wrapped condition followed by curly braces. (Trevor Powell) Solution: Make a copy of tryposBrace.
Diffstat (limited to 'src/testdir/test3.in')
-rw-r--r--src/testdir/test3.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in
index de8670038..7757569e3 100644
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -464,6 +464,14 @@ label: if (asdf &&
asdfasdf
}
+{
+for ( int i = 0;
+ i < 10; i++ )
+{
+}
+ i = 0;
+}
+
class bob
{
int foo() {return 1;}