1 /* Check that __int128 types are mangled. */
2 /* { dg-do compile { target mips*-*-* } } */
5 typedef int int128 __attribute__ ((mode(TI)));
6 typedef unsigned int uint128 __attribute__ ((mode(TI)));
11 int128 func1 (int128) const { return i; }
12 uint128 func2 (uint128) const { return i; }
15 int128 (S::*ptr1) (int128) const = &S::func1;
16 uint128 (S::*ptr2) (uint128) const = &S::func2;
18 const char *str1 = "_ZNK1S5func1En";
19 const char *str2 = "_ZNK1S5func2Eo";
22 /* { dg-final { scan-assembler _ZNK1S5func1En } } */
23 /* { dg-final { scan-assembler _ZNK1S5func2Eo } } */