 // This test file has been translated from swift/test/Parse/generic_disambiguation.swift
+
+import SwiftSyntax
 
 import XCTest
 

    )
  }

  func testGenericDisambiguation6() {
    AssertParse(
      """
      _ = a < b
      _ = (a < b, c > d)
      // Parses as generic because of lparen after '>'
      (a < b, c > (d)) 
      // Parses as generic because of lparen after '>'
      (a<b, c>(d)) 
      _ = a>(b)
      _ = a > (b)
      """,
      diagnostics: [
        // TODO: Old parser expected error on line 4: cannot specialize a non-generic definition
        // TODO: Old parser expected note on line 4: while parsing this '<' as a type parameter bracket
        // TODO: Old parser expected error on line 6: cannot specialize a non-generic definition
        // TODO: Old parser expected note on line 6: while parsing this '<' as a type parameter bracket
      ]
    )
  }


    AssertParse(
      """
      generic<Int>(0)
      """
    )
  }

