Opened 4 years ago

#73 assigned defect

Infinite loop with generics and new

Reported by: Rob Schluntz Owned by: Rob Schluntz
Priority: major Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description

forall( dtype T | sized(T), ttype Params | { void ?{}( T &, Params ); } ) T * new( Params p );

forall( otype T )
struct Ptr {
  T * values;
};

int main() {
  int * x = new();
}

Change History (0)

Note: See TracTickets for help on using tickets.