C++: Add test for C++20 implicit array sizes

Implement NewArrayExpr.getArraySize()
This commit is contained in:
Calum Grant
2024-07-11 11:22:21 +01:00
parent 57efb84b98
commit 29df3cb5b3
5 changed files with 36 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
| file://:0:0:0:0 | char[6] | 6 |
| file://:0:0:0:0 | char[26] | 26 |
| file://:0:0:0:0 | char[] | |
| file://:0:0:0:0 | const char[6] | 6 |
| file://:0:0:0:0 | double[0] | 0 |
| file://:0:0:0:0 | double[3] | 3 |
| file://:0:0:0:0 | double[4] | 4 |
| file://:0:0:0:0 | double[] | |
| file://:0:0:0:0 | int[1] | 1 |
| file://:0:0:0:0 | int[11] | 11 |
| file://:0:0:0:0 | long[] | |