--- /dev/null
+<?php
+
+namespace Doctrine\Tests\Common\Annotations\Fixtures;
+
+use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetClass;
+
+/**
+ * @AnnotationTargetClass("Some data")
+ */
+class ClassWithInvalidAnnotationTargetAtMethod
+{
+
+ /**
+ * @AnnotationTargetClass("functionName")
+ */
+ public function functionName($param)
+ {
+
+ }
+}
\ No newline at end of file