1// { dg-do assemble }
2
3// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
4// Contributed by Nathan Sidwell 11 Jan 2001 <nathan@codesourcery.com>
5
6// Bug 1506. We ICE'd on a struct definition inside a template parms.
7// This is still not completely fixed, but now issues a diagnostic
8
9
10template<class T =
11struct W {};    // { dg-error "inside template parameter list|before" }
12> struct S{};   // { dg-error "before" }
13