Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00
lcnr
87e781799a
feature(const_param_types)
-> feature(adt_const_params)
2021-08-30 12:07:36 +02:00
lcnr
0c28e028b6
feature(const_generics)
-> feature(const_param_types)
2021-08-30 11:00:21 +02:00
Bastian Kauschke
c4ba60a191
update tests
2020-12-26 18:24:10 +01:00
kadmin
9bf40f10bc
Add missing tests in root const-gen dir
2020-08-12 08:30:17 +00:00
Oliver Scherer
9245ba8304
Remove the const_raw_ptr_comparison feature gate.
...
We can never supply a meaningful implementation of this.
Instead, the follow up commits will create two intrinsics
that approximate comparisons:
* `ptr_maybe_eq`
* `ptr_maybe_ne`
The fact that `ptr_maybe_eq(a, b)` is not necessarily the same
value as `!ptr_maybe_ne(a, b)` is a symptom of this entire
problem.
2020-06-19 18:13:41 +02:00
Ralf Jung
6a8cf4a17c
adjust tests
2020-05-09 14:40:17 +02:00
Gabriel Smith
eaf8fd0569
test: const-generics: Update tests removing unrequired braces
...
Braces were left in cases where generic args were in the generic const
paths.
2019-11-18 17:23:22 -05:00
ben
cf3b561cea
Gate use of raw and function pointers in const generics behind
...
const_compare_raw_pointers.
2019-10-09 05:10:00 +13:00
ben
a59eb6d554
Pretty print function pointer const values.
2019-10-09 05:10:00 +13:00
ben
2afd277bc3
Fix calling function pointer const parameters. Also fixes inference of
...
function pointer const parameters.
2019-10-09 05:10:00 +13:00