blob: 00c973d8813aae9f9e55b234d2e97aa429eb1536 [file] [log] [blame]
// PR c++/7917
// Origin: VACLAV HAISMAN <V.Haisman@sh.cvut.cz>
// { dg-do compile }
struct A
{
int i;
void foo() = 0 {} // { dg-error "" }
A() : i(0) {}
};