Changeset d60a4c2 for tests/tuple
- Timestamp:
- Jan 11, 2025, 5:48:46 PM (13 months ago)
- Branches:
- master
- Children:
- f886608
- Parents:
- 7d65715f (diff), 32a119e9 (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. - Location:
- tests/tuple
- Files:
-
- 3 edited
-
tupleAssign.cfa (modified) (1 diff)
-
tuplePolymorphism.cfa (modified) (1 diff)
-
tupleVariadic.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/tuple/tupleAssign.cfa
r7d65715f rd60a4c2 48 48 int z; 49 49 } x; 50 X ?=?(X & x, double d) { return x; }50 X ?=?(X & x, double) { return x; } 51 51 [int, double, int] t; 52 52 -
tests/tuple/tuplePolymorphism.cfa
r7d65715f rd60a4c2 66 66 forall(T) 67 67 [T, T] foo([T, T] y) { 68 (void) y; 68 69 [T, T] x; 69 70 return x; -
tests/tuple/tupleVariadic.cfa
r7d65715f rd60a4c2 98 98 } 99 99 100 forall(T... | { void foo(T); }) void bar( T x) {}100 forall(T... | { void foo(T); }) void bar( T ) {} 101 101 void foo(int) {} 102 102 … … 126 126 { 127 127 // T = [const int] -- this ensures that void(*)(int) satisfies void(*)(const int) 128 const int x ;128 const int x = 42; 129 129 bar(x); 130 130 }
Note:
See TracChangeset
for help on using the changeset viewer.