d: Fix gdc -O2 -mavx generates misaligned vmovdqa instruction [PR114171]
[official-gcc.git] / gcc / testsuite / gdc.dg / torture / pr106563.d
blob7e15442c0bb7a7d81140315f0834d14de0ac1872
1 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106563
2 // { dg-do link }
3 // { dg-additional-files "imports/pr106563math.d imports/pr106563regex.d imports/pr106563uni.d" }
4 // { dg-additional-options "-I[srcdir] -fno-druntime" }
5 import imports.pr106563math;
6 import imports.pr106563regex;
8 auto requireSize()(size_t size)
10 return nextPow2(size);
13 extern(C) int main()
15 return cast(int)requireSize(0);