#include<exception>

struct E : std::exception {
    ~E() {}  // wrong syntax
    // ~E() throw() {} // <--- correct syntax
};

int main () {
    E e;
}