blob: 5f6fb96bc2a1973de2922ea70741bf4442df5fdf [file] [log] [blame]
// { dg-do compile }
// Copyright (C) 2004 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 14 Dec 2004 <nathan@codesourcery.com>
// PR 18981. ICE
// Origin: Andreas Schwab <schwab@suse.de>
template <class T>
struct tree {
struct iterator;
struct sibling_iterator {
friend struct tree<T>::iterator;
};
};