blob: 72bbdc77849c693cae4adc906e3ed380cc14d25d [file] [log] [blame]
// Build don't link:
// GROUPS passed old-abort
union Value
{
Value(){}
};
struct GlobalAddress
{
GlobalAddress(Value *nvar){}// ERROR - .*
};// ERROR - candidates .*
int
main()
{
new GlobalAddress(Value()); // internal error occured here// ERROR - no matching function .*
//new GlobalAddress(new Value()); // This line is correct code
}