Changeset 10b5970 for tests/tuple
- Timestamp:
- Jan 7, 2025, 3:22:19 PM (8 months ago)
- Branches:
- master
- Children:
- 190a833
- Parents:
- 70670e7
- Location:
- tests/tuple
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/tuple/tupleAssign.cfa
r70670e7 r10b5970 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
r70670e7 r10b5970 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
r70670e7 r10b5970 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.