blob: e7389fb40bb053144116718215703e00f0197476 [file] [log] [blame]
// Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com>
// excess errors test - XFAIL *-*-*
class foo {
public:
foo(int);
};
void bar(bool x)
{
if(x)
foo *a = new foo(foo::not); // ERROR -
}