gcc/testsuite/gdc.dg/simd15144.d
raw| 1 | // https://issues.dlang.org/show_bug.cgi?id=15144 |
| 2 | // { dg-additional-options "-mavx" { target avx_runtime } } |
| 3 | // { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } } |
| 4 | import core.simd; |
| 5 | |
| 6 | void test15144() |
| 7 | { |
| 8 | enum ubyte16 csXMM1 = ['a','b','c',0,0,0,0,0]; |
| 9 | __gshared ubyte16 csXMM2 = ['a','b','c',0,0,0,0,0]; |
| 10 | immutable ubyte16 csXMM3 = ['a','b','c',0,0,0,0,0]; |
| 11 | } |