Commit ee0cff60 by Andreas Schwab

* g++.dg/torture/pr60315.C: Remove duplication.

From-SVN: r208839
parent c7e30a96
2014-03-26 Andreas Schwab <schwab@suse.de>
* g++.dg/torture/pr60315.C: Remove duplication.
2014-03-26 Eric Botcazou <ebotcazou@adacore.com>
* gcc.c-torture/execute/20140326-1.c: New test.
......@@ -5,7 +9,7 @@
2014-03-25 Jan Hubicka <hubicka@ucw.cz>
PR ipa/60315
* testsuite/g++.dg/torture/pr60315.C: New testcase.
* g++.dg/torture/pr60315.C: New testcase.
2014-03-25 Martin Jambor <mjambor@suse.cz>
......
......@@ -14,19 +14,3 @@ extern Base* b;
int main() {
return (static_cast<Derived*>(b)->*(&Derived::f))();
}
// { dg-do compile }
struct Base {
virtual int f() = 0;
};
struct Derived : public Base {
virtual int f() final override {
return 42;
}
};
extern Base* b;
int main() {
return (static_cast<Derived*>(b)->*(&Derived::f))();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment