FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / crash28.C
blob6b0df69f16aac61c1a93d158bc0af84ea6d546c7
1 // Build don't link:
2 // Special g++ Options:
4 template <class ARRY>
5 inline unsigned int asize(ARRY &a)
7   return sizeof(a) / sizeof(a[0]);
10 void f(unsigned int n) {
11   int x[n];
13   asize(x); // ERROR - no matching function