re PR c++/29388 (ICE with invalid nested name specifier)
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Thu, 15 Jan 2009 22:10:24 +0000 (22:10 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 15 Jan 2009 22:10:24 +0000 (14:10 -0800)
commita2712544dcf3e154674455f0143c3a5974011b61
tree5887a2bd84d900e1c7d9f83d6f2f02ce436da8ee
parent574af2d680da3388a6b26afa549e5306602aa8f7
re PR c++/29388 (ICE with invalid nested name specifier)

2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29388
        * decl.c (grokdeclarator): Check for a non namespace/class context.

2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29388
        * g++.dg/template/error37.C: New testcase.

From-SVN: r143411
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/error37.C [new file with mode: 0644]