Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.other / eh4.C
blob621a0511a81084d8ad88b0f4a028335833fda140
1 // { dg-do assemble  }
2 // Origin: Jean-Marc Bourguet <bourguet@cadence.com>
4 class foo {
5 public:
6   foo() {};
7   void throwMe () {
8     throw *this;                // { dg-error "" } cannot be used in throw-expression
9   };
10   virtual void test () = 0;