code: def test_intervalindex_empty_typed_non_int():
      data = np.array([], dtype="datetime64[ns]")
      result = cudf.IntervalIndex(data)
      expected = pd.IntervalIndex(data)
      assert_eq(result, expected)
  
imports: import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_210
  from cudf.core.index import IntervalIndex, interval_range
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 19 for calling a global function with example usage: test_intervalindex_empty_typed_non_int() without return types