summaryrefslogtreecommitdiff
path: root/src/testdir/test3.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-12-14 20:05:21 +0100
committerBram Moolenaar <Bram@vim.org>2011-12-14 20:05:21 +0100
commita528565cf1b33f629a192abfc71b0591f139f4a3 (patch)
tree0646bed7f62fecb53b9266d05ee224d6bd43ffc3 /src/testdir/test3.in
parent323cb95120f8e0ba0116ddd87dda7956f80d7388 (diff)
downloadvim-git-a528565cf1b33f629a192abfc71b0591f139f4a3.tar.gz
updated for version 7.3.379v7.3.379
Problem: C-indenting wrong for static enum. Solution: Skip over "static". (Lech Lorens)
Diffstat (limited to 'src/testdir/test3.in')
-rw-r--r--src/testdir/test3.in19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in
index d3911427d..6c43732ab 100644
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -299,18 +299,25 @@ char *(array[100]) = {
enum soppie
{
- yes = 0,
- no,
- maybe
+yes = 0,
+no,
+maybe
};
typedef enum soppie
{
- yes = 0,
- no,
- maybe
+yes = 0,
+no,
+maybe
};
+static enum
+{
+yes = 0,
+no,
+maybe
+} soppie;
+
{
int a,
b;