[Bug libstdc++/24530] New: throw catch clause does not accept string
gcc Version: 3.3.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: alienforever at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24530
[Bug libstdc++/24530] throw catch clause does not accept string
--- Comment #2 from alienforever at gmail dot com 2005-10-25 21:52 --- Is the following TC invalid too? #include #define N 5 void func_2( ) { int n = N; char aCvla[n]; for( ; n >= 0; n-- ) aCvla[n] = n+'A'; throw aCvla; } int main() { try { func_2(); }