2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / abi / mangle6.C
blobff5fd5b5aa72d142e4f600480a4c77bd0750cd1d
1 /* Check that __int128 types are mangled.  */
2 /* { dg-do compile { target mips64*-*-* mipsisa64*-*-* } } */
4 typedef int int128 __attribute__ ((mode(TI)));
5 typedef unsigned int uint128 __attribute__ ((mode(TI)));
7 struct S
9   int128 i;
10   int128 func1 (int128) const { return i; }
11   uint128 func2 (uint128) const { return i; }
14 int128 (S::*ptr1) (int128) const = &S::func1;
15 uint128 (S::*ptr2) (uint128) const = &S::func2;
17 /* { dg-final { scan-assembler _ZNK1S5func1En } } */
18 /* { dg-final { scan-assembler _ZNK1S5func2Eo } } */