summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/tools/qmake/testdata/findDeps/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/tools/qmake/testdata/findDeps/main.cpp b/tests/auto/tools/qmake/testdata/findDeps/main.cpp
index 0df3f9b7c3..d5dd5b81d3 100644
--- a/tests/auto/tools/qmake/testdata/findDeps/main.cpp
+++ b/tests/auto/tools/qmake/testdata/findDeps/main.cpp
@@ -35,6 +35,9 @@
/ #include "needed.cpp"
// if not ignored, symbol needed() won't be available ...
+// Check we're not confused by string juxtaposition:
+static const char text[] = "lorem ""ipsum /*";
+
#include <moc_object1.cpp>
/**/ #include <moc_object2.cpp>
/**//**/ #include <moc_object3.cpp>