Opened 7 years ago

Closed 2 years ago

#73 closed defect (fixed)

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 (1)

comment:1 Changed 2 years ago by Thierry Delisle

Resolution: fixed
Status: assignedclosed

This code compiles and runs now.

Note: See TracTickets for help on using tickets.