blob: c3709c555360662d2014f3a47456e005b8d29bf7 [file] [log] [blame]
// Bug: g++ tries to generate initialization semantics for a Node from an int,
// and fails.
// Build don't link:
struct Node
{
Node* child[2];
}; // ERROR -
void bug(int i)
{
Node* q = new Node(i); // ERROR -
}