aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/reformatter/enum.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qml/reformatter/enum.qml b/tests/auto/qml/reformatter/enum.qml
new file mode 100644
index 00000000000..769386494d0
--- /dev/null
+++ b/tests/auto/qml/reformatter/enum.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.0
+
+Item {
+ enum Test {
+ A,
+ B
+ }
+
+ enum TestWithValues {
+ A = 11.1,
+ B,
+ C = 3
+ }
+}