------- Comment #3 from pluto at agmk dot net 2008-03-27 19:29 ------- (In reply to comment #2) > ping-bug, > comeau detects this error w/o any problems. > > "ComeauTest.c", line 2: error: incompatible exception specifications > void (*pt)() throw() = &foo > ^
one more trivial testcase: $ cat exspec.cpp void foo() throw (int); void (*pt)() throw() = &foo; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12255