1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail11717.d(13): Error: cannot interpret array literal expression [1, 2, 3, 4] + [1, 2, 3, 4] at compile time
5 ---
6 */
7 
8 // https://issues.dlang.org/show_bug.cgi?id=11717
9 
10 enum int[4] A = [1,2,3,4];
11 enum int[4] B = [1,2,3,4];
12 // Internal Compiler Error: non-constant value [1, 2, 3, 4]
13 enum int[4] C = A[] + B[];
14 
15