- Timestamp:
- Dec 22, 2016, 2:28:56 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:
- 907eccb
- Parents:
- 64eae56
- Location:
- src/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/tupleVariadic.txt
r64eae56 r0c286cf 1 called ?{} with no a 2 array = { } 3 called ?{} with a: 999 4 array = { 999, } 1 5 called ?{} with a: 123 456 2 6 array = { 123, 456, } -
src/tests/tupleVariadic.c
r64eae56 r0c286cf 79 79 80 80 int main() { 81 // xxx - these two don't work just yet 82 // array * x0 = new(); 83 // print(x0); 81 array * x0 = new(); 82 print(x0); 84 83 85 //array * x1 = new(999);86 //print(x1);84 array * x1 = new(999); 85 print(x1); 87 86 88 87 array * x2 = new(123, 456);
Note: See TracChangeset
for help on using the changeset viewer.