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
* gcc.dg/vect/vect-shift-1.c: Include tree-vect.h header. Check
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
encode-2.mm
blob
232ac0e8fc9d232d8b9971eff922a4c2748f7cc7
1
/* { dg-do compile } */
2
3
template <class T>
4
struct Vec {
5
T x, y;
6
int z;
7
};
8
9
Vec<double> dd;
10
const char *enc = @encode(Vec<float>);
11
const char *enc2 = @encode(Vec<double>);
12
13
/* { dg-final { scan-assembler "{Vec<float>=ffi}" } } */
14
/* { dg-final { scan-assembler "{Vec<double>=ddi}" } } */