summaryrefslogtreecommitdiff
path: root/xsd-tests/morphing/anonymous/unstable/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-tests/morphing/anonymous/unstable/testscript')
-rw-r--r--xsd-tests/morphing/anonymous/unstable/testscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/xsd-tests/morphing/anonymous/unstable/testscript b/xsd-tests/morphing/anonymous/unstable/testscript
new file mode 100644
index 0000000..a9057e1
--- /dev/null
+++ b/xsd-tests/morphing/anonymous/unstable/testscript
@@ -0,0 +1,11 @@
+# file : morphing/anonymous/unstable/testscript
+# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+: unstable-conflict
+:
+$* --output-dir $~ $src_base/includer.xsd 2>>/"EOE" != 0
+ $src_base/includee-2.xsd:8:28: error: element name 'base' creates an unstable conflict when used as a type name
+ $src_base/includee-1.xsd:8:31: info: conflicting type is defined here
+ $src_base/includee-2.xsd:8:28: info: use --anonymous-regex to resolve this conflict
+ $src_base/includee-2.xsd:8:28: info: and don't forget to pass the same option when translating 'includee-2.xsd' and all the schemas that refer to it
+ EOE