Changeset a65d92e for src/Tests/ResolvExpr/InferParam.c
- Timestamp:
- Jun 5, 2015, 9:34:43 AM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 59db689
- Parents:
- 44b5ca0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Tests/ResolvExpr/InferParam.c
r44b5ca0 ra65d92e 8 8 void i( float ); 9 9 10 void h() 11 { 12 int a; 13 i( g( a ) ); 10 void h() { 11 int a; 12 i( g( a ) ); 14 13 } 15 14 16 context has_f_and_j( type T, type U ) 17 { 18 U f( T ); 19 U j( T, U ); 15 context has_f_and_j( type T, type U ) { 16 U f( T ); 17 U j( T, U ); 20 18 }; 21 19 … … 23 21 forall( type T, type U | has_f_and_j( T, U ) ) U k( T ); 24 22 25 void l() 26 { 27 int b; 28 i( k( b ) ); 23 void l() { 24 int b; 25 i( k( b ) ); 29 26 } 27 28 // Local Variables: // 29 // tab-width: 4 // 30 // End: //
Note: See TracChangeset
for help on using the changeset viewer.