blob: 55a4af1f45d4f5984d3c1177e23f8a6ea27b2830 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
TEST_OUTPUT:
---
fail_compilation/fail18.d(14): Error: need upper and lower bound to slice pointer
---
*/
// 7/25
// Internal error: ..\ztc\cgcod.c 1464
void main ()
{
int x = 3;
int[] a = (&x)[];
}
|