------- Comment #1 from bangerth at dealii dot org  2007-10-20 23:36 -------
The code should be invalid precisely because this is also invalid:
-------------------
template<int> struct A;

void foo()
{
  A<0>;
}
-------------------

g/x> c++ -c x.cc
x.cc: In function 'void foo()':
x.cc:5: error: declaration does not declare anything

W.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33839

Reply via email to