/* { dg-do compile } */ template struct Vec { T x, y; int z; }; Vec dd; const char *enc = @encode(Vec); const char *enc2 = @encode(Vec); /* { dg-final { scan-assembler "{Vec=ffi}" } } */ /* { dg-final { scan-assembler "{Vec=ddi}" } } */