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(); }
Note: See
TracTickets for help on using
tickets.
This code compiles and runs now.