1 /* This file tests that things are encoded using the gcc-3.3 ABI which is only
2 used by the NeXT runtime. */
3 /* Test for graceful encoding of const-qualified fields and parameters. */
4 /* Author: Ziemowit Laski <zlaski@apple.com> */
6 /* { dg-do compile } */
7 /* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
10 const struct Cxx *next;
14 const struct Cxx *obj;
16 - (ObjC *)initWithCxx: (struct Cxx *const)c and: (const struct Cxx *)d;
20 - (ObjC *)initWithCxx: (struct Cxx *const)c and: (const struct Cxx *)d {
26 /* { dg-final { scan-assembler "@\[0-9\]+@0:\[0-9\]+\\^{Cxx=\\^{Cxx}}\[0-9\]+r\\^{Cxx=\\^{Cxx}}" } } */