blob: c9a12d0fbb626a1b5e9be372aa470c79582fbe8c [file] [log] [blame]
// { dg-do assemble }
// Origin: Jakub Jelinek <jakub@redhat.com>
class foo {
public:
foo(int);
};
void bar(bool x)
{
if(x)
foo *a = new foo(foo::not); // { dg-error "" }
}