summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-vala-1
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/xgettext-vala-1')
-rwxr-xr-xgettext-tools/tests/xgettext-vala-12
1 files changed, 2 insertions, 0 deletions
diff --git a/gettext-tools/tests/xgettext-vala-1 b/gettext-tools/tests/xgettext-vala-1
index b59670b..7eda7be 100755
--- a/gettext-tools/tests/xgettext-vala-1
+++ b/gettext-tools/tests/xgettext-vala-1
@@ -7,10 +7,12 @@ cat <<\EOF > xg-vala-1.vala
int main (string[] args) {
var s1 = "Simple string, " + " no gettext needed";
var c1 = '\'';
+ var empty = "";
// This is a C++ style comment
var s2 = _("Extract this first string");
var s3 = "Prefix _(" + _("Extract this second string") + ") Postfix";
+ var empty_verbatim = """""";
if (args[0] == _("Extract this thirth string")) {
/* _("This is a comment and must not be extracted!") */
}