* gettext-tools/src/x-csharp.c (phase3_pushback): Increase size to 10.
* gettext-tools/tests/xgettext-csharp-9: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add it.
/* Line number defined in terms of phase3. */
static int logical_line_number;
-static int phase3_pushback[9];
+static int phase3_pushback[10];
static int phase3_pushback_length;
/* Read the next Unicode UCS-4 character from the input file, mapping
xgettext-c-stackovfl-1 xgettext-c-stackovfl-2 \
xgettext-csharp-1 xgettext-csharp-2 xgettext-csharp-3 \
xgettext-csharp-4 xgettext-csharp-5 xgettext-csharp-6 \
- xgettext-csharp-7 xgettext-csharp-8 \
+ xgettext-csharp-7 xgettext-csharp-8 xgettext-csharp-9 \
xgettext-csharp-stackovfl-1 xgettext-csharp-stackovfl-2 \
xgettext-csharp-stackovfl-3 xgettext-csharp-stackovfl-4 \
xgettext-desktop-1 xgettext-desktop-2 \
--- /dev/null
+#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
+
+# Test C# support: large pushback.
+
+cat <<\EOF > xg-cs-9.cs
+x\U00000000
+EOF
+
+: ${XGETTEXT=xgettext}
+${XGETTEXT} --omit-header --no-location -d xg-cs-9.tmp xg-cs-9.cs || Exit 1
+
+exit 0