diff --git a/unittests/Analysis/CallGraphTest.cpp b/unittests/Analysis/CallGraphTest.cpp index 29e9aa63182..777907a55b1 100644 --- a/unittests/Analysis/CallGraphTest.cpp +++ b/unittests/Analysis/CallGraphTest.cpp @@ -35,15 +35,12 @@ template void canSpecializeGraphTraitsIterators(Ty *G) { auto S = GraphTraits::child_begin(N); auto F = GraphTraits::child_end(N); - auto Y = ++S; // Should be able to iterate over immediate successors of a node. static_assert(std::is_same::value, "Node type does not match"); static_assert(std::is_same::value, "Node type does not match"); - static_assert(std::is_same::value, - "Node type does not match"); } TEST(CallGraphTest, GraphTraitsSpecialization) {