Index: trunk/test/unit/org/openstreetmap/josm/data/validation/tests/HighwaysTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/validation/tests/HighwaysTest.java	(revision 19025)
+++ trunk/test/unit/org/openstreetmap/josm/data/validation/tests/HighwaysTest.java	(revision 19029)
@@ -115,3 +115,14 @@
         }
     }
+
+    /**
+     * Test all error cases manually created in data.osm.
+     * @throws Exception in case of error
+     */
+    @Test
+    void testTicket9304() throws Exception {
+        final Highways test = new Highways();
+        ValidatorTestUtils.testSampleFile("nodist/data/9304-examples.osm", DataSet::getNodes, null, test);
+    }
+
 }
