FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / crash65.C
blob2e66d5d92c38bc4509cb26ff4deb6df64005b852
1 // Build don't link:
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
9 // crash test - XFAIL *-*-*
11 template<class T =
12 struct W {};    // ERROR - inside template parms
13 > struct S{};