PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git] / gcc / testsuite / gcc.dg / pr38338.c
blob5dfd44349262e3feff12614f1788106edbe98acb
1 /* PR middle-end/38338 */
2 /* { dg-options "-O0" } */
3 /* { dg-options "-O0 -fPIC" { target fpic } } */
4 /* { dg-require-effective-target untyped_assembly } */
6 typedef void (*fnp) (void);
8 static char
9 foo (char x)
11 return x;
14 static void *
15 bar (char x)
17 void *args = __builtin_apply_args ();
18 return __builtin_apply ((fnp) foo, args, sizeof (void *));