Changeset 937e51d for src/Tests/Function.c
- Timestamp:
- Jun 26, 2015, 4:00:26 PM (10 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:
- 0df292b, e0ff3e6
- Parents:
- eb50842 (diff), 1869adf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
src/Tests/Function.c (moved) (moved from src/Tests/ResolvExpr/Function.c ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Tests/Function.c
reb50842 r937e51d 4 4 float f( float ); 5 5 6 void g() 7 { 8 // selects the same f and a each time 9 // but without a cast would be ambiguous 10 f( (int)a ); 11 (int)f( a ); 6 void g() { 7 // selects the same f each time but without a cast would be ambiguous 8 f( (int)a ); 9 (int)f( a ); 12 10 } 13 11 … … 24 22 [ int, int ] r( int, int, int, int ); 25 23 26 void s() 27 { 28 r( p, q ); 29 r( [ q, p ] ); 30 r( r( p, q ), r( q, q ) ); 24 void s() { 25 r( p, q ); 26 r( [ q, p ] ); 27 r( r( p, q ), r( q, q ) ); 31 28 } 29 30 // Local Variables: // 31 // tab-width: 4 // 32 // End: //
Note:
See TracChangeset
for help on using the changeset viewer.