From: Jeffrey D. Oldham Date: Tue, 28 Jan 2003 20:11:44 +0000 (+0000) Subject: nested1.C: Test moved from ... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4334c467a104d806de482e3e3b3058dc9de91540;p=gcc.git nested1.C: Test moved from ... 2003-01-28 Jeffrey D. Oldham * g++.dg/lookup/nested1.C: Test moved from ... * g++.old-deja/g++.other/lookup24.C: ... here. From-SVN: r62007 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1be51bac2f7..c2f60e6ede7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-01-28 Jeffrey D. Oldham + + * g++.dg/lookup/nested1.C: Test moved from ... + * g++.old-deja/g++.other/lookup24.C: ... here. + Tue Jan 28 12:19:35 CET 2003 Jan Hubicka * gcc.dg/i386-cmov5.c: New test. diff --git a/gcc/testsuite/g++.dg/lookup/nested1.C b/gcc/testsuite/g++.dg/lookup/nested1.C new file mode 100644 index 00000000000..c8988e278d1 --- /dev/null +++ b/gcc/testsuite/g++.dg/lookup/nested1.C @@ -0,0 +1,25 @@ +// Build don't link: +// +// Copyright (C) 2003 Free Software Foundation, Inc. +// Contributed by Raymond . +// +// PR c++/47 The parser failed to resolve 'B' in the return type of +// A::C::D::foo. + +class A { +public: + class B; + class C; +}; + +class A::B { +}; + +class A::C { + class D; +}; + +class A::C::D { +public: + B* foo(); +}; diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup24.C b/gcc/testsuite/g++.old-deja/g++.other/lookup24.C deleted file mode 100644 index c8988e278d1..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.other/lookup24.C +++ /dev/null @@ -1,25 +0,0 @@ -// Build don't link: -// -// Copyright (C) 2003 Free Software Foundation, Inc. -// Contributed by Raymond . -// -// PR c++/47 The parser failed to resolve 'B' in the return type of -// A::C::D::foo. - -class A { -public: - class B; - class C; -}; - -class A::B { -}; - -class A::C { - class D; -}; - -class A::C::D { -public: - B* foo(); -};