PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / objc.dg / encode-10.m
blobbdfdb82b8d21f5b266b6d5d0c78afda9754784cf
1 /* { dg-do compile } */
3 typedef struct Vec {
4  double x, y;
5  int z;
6 } xyz_t ;
8 typedef struct {
9   float fscalar;
10   double dscalar;
11   xyz_t dv;
12   int iscalar;
13 } anonymous;
15 const char *enc = @encode(xyz_t);
16 const char *enc2 = @encode(anonymous);
18 /* { dg-final { scan-assembler "{Vec=ddi}" } }  */
19 /* { dg-final { scan-assembler "{?=fd{Vec=ddi}i}" } }  */