repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
encode-10.m
blob
bdfdb82b8d21f5b266b6d5d0c78afda9754784cf
1
/* { dg-do compile } */
2
3
typedef struct Vec {
4
double x, y;
5
int z;
6
} xyz_t ;
7
8
typedef struct {
9
float fscalar;
10
double dscalar;
11
xyz_t dv;
12
int iscalar;
13
} anonymous;
14
15
const char *enc = @encode(xyz_t);
16
const char *enc2 = @encode(anonymous);
17
18
/* { dg-final { scan-assembler "{Vec=ddi}" } } */
19
/* { dg-final { scan-assembler "{?=fd{Vec=ddi}i}" } } */