* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / crash28.C
blob8fb520d6eb391937d3208a513435d8edf740bdf4
1 // { dg-do assemble  }
2 // { dg-options "" }
4 template <class ARRY>
5 inline unsigned int asize(ARRY &a) // { dg-message "note" }
7   return sizeof(a) / sizeof(a[0]);
10 void f(unsigned int n) {
11   int x[n];
13   asize(x); // { dg-error "" } no matching function
14   // { dg-message "(candidate|not a valid template argument)" "candidate note" { target *-*-* } .-1 }