summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/parsecpp_clang_only/test_line_directive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata/good/parsecpp_clang_only/test_line_directive.cpp')
-rw-r--r--tests/auto/linguist/lupdate/testdata/good/parsecpp_clang_only/test_line_directive.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/parsecpp_clang_only/test_line_directive.cpp b/tests/auto/linguist/lupdate/testdata/good/parsecpp_clang_only/test_line_directive.cpp
new file mode 100644
index 000000000..ed3fc9520
--- /dev/null
+++ b/tests/auto/linguist/lupdate/testdata/good/parsecpp_clang_only/test_line_directive.cpp
@@ -0,0 +1,7 @@
+#include <QtCore>
+
+QString t1 = QObject::tr("blabla 1");
+
+#line 1 "toto.cpp"
+
+QString t2 = QObject::tr("blabla 2");