* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit73.C
blobf8ceaf790c44846945184d42d979f562df110adc
1 // { dg-do assemble  }
3 // by Alexandre Oliva <oliva@dcc.unicamp.br>
5 // According to [temp.expl.spec]/2, a template explicit specialization
6 // must be declared in the namespace that contains the declaration of
7 // the template
9 namespace N {
10   template <class T> class foo;
13 using namespace N;
15 template <> class foo<void>; // { dg-error "" } invalid specialization