// { dg-do assemble }
// GROUPS passed operator-new
typedef struct {
int a;
} AStruct;
void MakeBug() {
AStruct *job;
// This used to crash, it should now give error(s).
job = new AStruct[];//
// { dg-do assemble }
// Bug: new doesn't make sure that the count is an integral value.
#include
extern "C" int printf (const char *, ...);
extern "C" void *malloc (size_t);
size_t s;
void *
# created by ../tools/tclZIC.tcl - do not edit
if {![info exists TZData(America/Los_Angeles)]} {
LoadTimeZoneFile America/Los_Angeles
}
set TZData(:US/Pacific-New) $TZData(:America/Los_Angeles)