Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / init / ctor6.C
bloba25ecab1fa76f4aa53be163ac8de690536c493a0
1 // PR c++/21340
3 struct Base{};
4 struct Iterator : virtual Base {};
5 bool operator==(const Iterator&, const Iterator&);
6 struct IteratorI : Iterator {};
7 struct Obj
9   bool operator==(const Obj&) const;
11 template <int>bool dummy()
13   Obj lhs, rhs;
14   return lhs == rhs;
16 int
17 main(int argc, char** argv)
19   IteratorI* it2 = new IteratorI();