aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/directivesWithComments.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/directivesWithComments.js')
-rw-r--r--tests/auto/qml/qmlformat/data/directivesWithComments.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/directivesWithComments.js b/tests/auto/qml/qmlformat/data/directivesWithComments.js
new file mode 100644
index 0000000000..7206bb27ed
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/directivesWithComments.js
@@ -0,0 +1,8 @@
+
+.pragma library // use as library
+
+/*
+ Fun is necessary
+ */
+.import "fun.js" as Fun
+.import Qt.test 1.0 as JsQtTest // yet another comment not to be lost