Bug 3351

Summary: another ICE (segmentation fault)
Product: Sisyphus Reporter: Alexey Voinov <voins>
Component: gcc3.2-c++Assignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   

Description Alexey Voinov 2003-12-07 21:03:28 MSK
$ cat > a.cc
namespace ns { template <typename T> struct struct1: T {}; }
void g(void) { ns::struct1(); }

$ g++ a.cc
a.cc: In function `void g()':
a.cc:2: internal error: Segmentation fault
Comment 1 Alexey Voinov 2003-12-30 14:42:50 MSK
$ g++-3.3
test.cc: In function `void g()':
test.cc:2: error: invalid use of `template<class T> struct ns::struct1'

no more ICE here