RISC-V: Support FP l/ll round and rint HF mode autovec
[official-gcc.git] / gcc / testsuite / gdc.dg / pr96301b.d
blob3d978beebc8fa9e2a076dec578eadc42a6b54f6f
1 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96301
2 // { dg-additional-options "-fPIC" { target fpic } }
3 // { dg-do compile }
4 class Container
6 int[100] children;
8 void remove(void* data)
10 int[100] remove(int[100] range)
12 auto result = range;
13 if (result.front)
14 return result;
15 assert(0);
17 if (data)
18 remove(children);
22 int front(int[100] a)
24 return a.ptr[0];