* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr69242.c
blobd7f171810b96dc7a0b4d0adedeb683b0dfb6a736
1 /* { dg-do compile } */
2 /* { dg-additional-options "-w" } */
4 int a[1];
5 void *memcpy();
6 int smx_ctx_base_factory_create_context_sized();
7 void getcontext();
8 void smx_ctx_sysv_create_context() {
9 int *b = (int *)smx_ctx_base_factory_create_context_sized();
10 getcontext();
11 memcpy(a, &b, sizeof(int));
12 switch (a[0])