1// { dg-do assemble } 2 3// Copyright (C) 2000 Free Software Foundation, Inc. 4// Contributed by Nathan Sidwell 11 Jan 2001 <nathan@codesourcery.com> 5 6// Bug 1551. We were accessing some uninitialized memory, causing us 7// to reject this. 8 9template <typename T> 10struct base 11{ 12base(); 13base(unsigned); 14}; 15 16template <typename V> 17struct Y 18{ 19Y(unsigned = 0); 20}; 21 22template <> 23Y<char>::Y(unsigned) { } 24 25base<double> x; 26