1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# Test C++ support: C++14 preprocessing number tokens. 5 6: ${XGETTEXT=xgettext} 7 8cat <<\EOF > xg-c-c++-2.cc 9auto i = 1'234; gettext ("hello"); 10EOF 11 12: ${XGETTEXT=xgettext} 13${XGETTEXT} --omit-header --no-location -d xg-c-c++-2.tmp xg-c-c++-2.cc || Exit 1 14LC_ALL=C tr -d '\r' < xg-c-c++-2.tmp.po > xg-c-c++-2.po || Exit 1 15 16cat <<\EOF > xg-c-c++-2.ok 17msgid "hello" 18msgstr "" 19EOF 20 21: ${DIFF=diff} 22${DIFF} xg-c-c++-2.ok xg-c-c++-2.po || Exit 1 23