[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr77587.c
blob8f5afef6b36293d07287f8e1e77fef6ecbf26124
1 /* PR target/77587 */
2 /* { dg-do run } */
3 /* { dg-require-alias "" } */
4 /* { dg-require-weak-override "" } */
5 /* { dg-additional-sources "pr77587a.c" } */
7 void
8 bar (long x, long y, long z)
10 struct __attribute__((aligned (16))) S { long a, b, c, d; } s;
11 char *p = (char *) &s;
12 __asm ("" : "+r" (p));
13 if (((__UINTPTR_TYPE__) p) & 15)
14 __builtin_abort ();