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