diff --git a/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java b/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java
index 74278c5..8695531 100644
--- a/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java
+++ b/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java
@@ -38,6 +38,7 @@
     protected static final int MIX_VIA = 1813;
     protected static final int UNCONNECTED_VIA = 1814;
     protected static final int SUPERFLUOUS = 1815;
+    protected static final int FROM_EQUALS_TO = 1816;
 
     /**
      * Constructs a new {@code TurnrestrictionTest}.
@@ -142,6 +143,9 @@ public void visit(Relation r) {
             errors.add(new TestError(this, Severity.ERROR, tr("No \"to\" way found"), NO_TO, r));
             return;
         }
+        if (fromWay.equals(toWay)) {
+            errors.add(new TestError(this, Severity.OTHER, tr("\"from\" way equals \"to\" way"), FROM_EQUALS_TO, r));
+        }
         if (via.isEmpty()) {
             errors.add(new TestError(this, Severity.ERROR, tr("No \"via\" node or way found"), NO_VIA, r));
             return;
