2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / crash65.C
blob4d5696c2d10a53457b269ac34d94df3fd386f154
1 // { dg-do assemble { xfail *-*-* } }
3 // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 11 Jan 2001 <nathan@codesourcery.com>
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
10 template<class T =
11 struct W {};    // { dg-error "" } inside template parms
12 > struct S{};