         DiagnosticSpec(locationMarker: "2️⃣", message: "expected name and member block in class"),
         DiagnosticSpec(locationMarker: "2️⃣", message: "expected '}' to end struct"),
         DiagnosticSpec(locationMarker: "2️⃣", message: "extraneous code at top level"),
-        // TODO: Old parser expected error on line 2: 'weak' must be a mutable variable, because it may change at runtime
-        // TODO: Old parser expected error on line 2: 'weak' variable should have optional type 'T?'
-        // TODO: Old parser expected error on line 2: 'weak' must not be applied to non-class-bound 'T'; consider adding a protocol conformance that has a class bound
       ]
     )
   }

      !(())
      !(x)
      !x
      """,
      diagnostics: [
        // TODO: Old parser expected error on line 2: cannot convert value of type '()' to expected argument type 'Bool'
        // TODO: Old parser expected error on line 3: cannot convert value of type '()' to expected argument type 'Bool'
        // TODO: Old parser expected error on line 4: cannot convert value of type '()' to expected argument type 'Bool'
        // TODO: Old parser expected error on line 5: cannot convert value of type '()' to expected argument type 'Bool'
      ]
    )
  }

  func testInvalid31() {
    AssertParse(
      """
      // https://github.com/apple/swift/issues/50734
      """
    )
  }

  func testInvalid32() {
    AssertParse(
      """
      func f1_50734(@NSApplicationMain x: Int) {}
      """,
      diagnostics: [
        // TODO: Old parser expected error on line 1: @NSApplicationMain may only be used on 'class' declarations
      ]
    )
  }


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

