     AssertParse(
       """
       func f6_50734<@discardableResult T>(x: T) {}
-      """,
-      diagnostics: [
-        // TODO: Old parser expected error on line 1: '@discardableResult' attribute cannot be applied to this declaration
-      ]
+      """
     )
   }
 

    AssertParse(
      """
      func f3_50734(@discardableResult x: Int) {}
      """,
      diagnostics: [
        // TODO: Old parser expected error on line 1: '@discardableResult' attribute cannot be applied to this declaration
      ]
    )
  }


    AssertParse(
      """
      enum E_50734<@indirect T> {}
      """
    )
  }

