summaryrefslogtreecommitdiffstats
path: root/src/testdir/test3.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-14 20:42:25 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-14 20:42:25 +0000
commit9e54a0e753578e10910a842d631cffde32d1f133 (patch)
tree493fbfc4e3c943016355f7fd131bd6eadf02fd0a /src/testdir/test3.in
parent7fc904b610d5739dd7b72fb2f6b0e4b330c97179 (diff)
updated for version 7.0d04v7.0d04
Diffstat (limited to 'src/testdir/test3.in')
-rw-r--r--src/testdir/test3.in47
1 files changed, 46 insertions, 1 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in
index 8983118348..b929279f4d 100644
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -10,7 +10,7 @@ STARTTEST
=/end of AUTO
ENDTEST
-/* start of AUTO matically checked */
+/* start of AUTO matically checked vim: set ts=4 : */
{
if (test)
cmd1;
@@ -766,7 +766,39 @@ Constructor::Constructor(int a,
mMember(b)
{
}
+ int main ()
+ {
+ if (lala)
+ do
+ ++(*lolo);
+ while (lili
+ && lele);
+ lulu;
+ }
+int main ()
+{
+switch (c)
+{
+case 'c': if (cond)
+{
+}
+}
+}
+
+main()
+{
+ (void) MyFancyFuasdfadsfnction(
+ argument);
+}
+
+main()
+{
+ char foo[] = "/*";
+ /* as
+ df */
+ hello
+}
/* end of AUTO */
STARTTEST
@@ -1270,6 +1302,19 @@ ENDTEST
}
STARTTEST
+:set cino=M1
+2kdd]]=][
+ENDTEST
+
+int main ()
+{
+ if (cond1 &&
+ cond2
+ )
+ foo;
+}
+
+STARTTEST
:g/^STARTTEST/.,/^ENDTEST/d
:1;/start of AUTO/,$wq! test.out
ENDTEST