Skip to content

Commit

Permalink
Removed test on LLVM (clang)
Browse files Browse the repository at this point in the history
  • Loading branch information
spectre-ns committed Nov 8, 2023
1 parent 34cd549 commit 8aef465
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_xinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ namespace xt
ss << info(test) << std::endl;
}

#ifndef __llvm__ //See https://github.com/xtensor-stack/xtensor/issues/2694
TEST(xinfo, typename)
{
xarray<double> test = {{1, 2, 3}, {4, 5, 6}};
auto t_s = type_to_string<typename decltype(test)::value_type>();
std::string expected = "double";
EXPECT_EQ(expected, t_s);
}
#endif
}

0 comments on commit 8aef465

Please sign in to comment.