* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / spec37.C
blob1fd9ef929583926915ebb0081cd448d3d2b9ace0
1 // { dg-do assemble  }
2 // 
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 21 Jan 2001 <nathan@codesourcery.com>
6 // Bug 1728. We started sorting things when there were 7 fields. Our
7 // template_count algorithm was rather fragile ...
9 template <int dim> struct X
11   struct Y
12   {
13     int x1;
14     int x2;
15     int x3;
16     int x4;
17     int x5;
18     int x6;
19     int x7;
21     void Foo ();
22   };
25 template <> void X<1>::Y::Foo () {}