--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -296,6 +296,9 @@
         self.assertNotEqual(re.match("^x{1,3}?$", "xxx"), None)
         self.assertNotEqual(re.match("^x{1,4}?$", "xxx"), None)
         self.assertNotEqual(re.match("^x{3,4}?$", "xxx"), None)
+
+        self.assertEqual(re.match("^x{}$", "xxx"), None)
+        self.assertNotEqual(re.match("^x{}$", "x{}"), None)
 
     def test_getattr(self):
         self.assertEqual(re.match("(a)", "a").pos, 0)