diff options
Diffstat (limited to 'org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/scoping/Annotations.xcore')
-rw-r--r-- | org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/scoping/Annotations.xcore | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/scoping/Annotations.xcore b/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/scoping/Annotations.xcore new file mode 100644 index 000000000..67779cdbf --- /dev/null +++ b/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/scoping/Annotations.xcore @@ -0,0 +1,11 @@ +// XPECT noValidationErrors + +package foo + +annotation "http://example.org/" as myAnnotation + +// FIXME: this scope should not contain qualified names of annotations since they are only visible locally. +// __XPECT scopeAllElements at myAnnotation --> myAnnotation +@myAnnotation +class Class1 {} + |