Changeset 0f35657
- Timestamp:
- Nov 28, 2016, 3:16:45 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- f7e749f
- Parents:
- 2c57025
- Location:
- src/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/completeTypeError.txt
r2c57025 r0f35657 1 1 CFA Version 1.0.0 (debug) 2 Error: No reasonable alternatives for expression Applying untyped: 3 Name: *? 4 ...to: 5 Name: v 6 7 2 8 Error: No reasonable alternatives for expression Applying untyped: 3 9 Name: baz … … 25 31 26 32 Error: No reasonable alternatives for expression Applying untyped: 33 Name: *? 34 ...to: 35 Name: y 36 37 38 Error: No reasonable alternatives for expression Applying untyped: 27 39 Name: baz 28 40 ...to: -
src/tests/completeTypeError.c
r2c57025 r0f35657 10 10 11 11 // okay 12 *i; 12 13 foo(i); 13 14 bar(i); … … 21 22 22 23 // bad 24 *v; 23 25 baz(v); 24 26 quux(v); … … 32 34 qux(x); 33 35 quux(x); 36 *x; 34 37 } 35 38 … … 43 46 baz(y); 44 47 quux(y); 48 *y; 45 49 } 46 50 … … 51 55 qux(z); 52 56 quux(z); 57 *z; 53 58 54 59 // bad -
src/tests/shortCircuit.c
r2c57025 r0f35657 11 11 12 12 void g() { 13 14 15 13 int a; 14 struct { int b; } a; 15 if ( a ) { 16 16 while ( a ) { 17 17 int *b; … … 19 19 } 20 20 } 21 21 } 22 22 } 23 23
Note: See TracChangeset
for help on using the changeset viewer.