(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.pt/
crash3.C
// { dg-do assemble  }

template <class Type>
class CVector {
public:
    CVector<int> f() const
    {
      // local-extern :)
      CVector<int> v(); // { dg-message "old declaration" }
      // { dg-warning "empty parentheses" "" { target *-*-* } .-1 }
       return v;		// { dg-error "convert" }
    }
    CVector<long> g() const
    {
      CVector<long> v(); // { dg-error "ambiguating new" }
      // { dg-warning "empty parentheses" "" { target *-*-* } .-1 }
       return v;		// { dg-error "convert" }
    }
};