[Bug c++/33839] [4.3 regresssion] ICE with decltype
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Sat Oct 20 23:36:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list