1 /* Test for graceful encoding of const-qualified fields and parameters. */
2 /* Author: Ziemowit Laski <zlaski@apple.com> */
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
7 const struct Cxx *next;
11 const struct Cxx *obj;
13 - (ObjC *)initWithCxx: (struct Cxx *const)c and: (const struct Cxx *)d;
17 - (ObjC *)initWithCxx: (struct Cxx *const)c and: (const struct Cxx *)d {
23 /* { dg-final { scan-assembler "@\[0-9\]+@0:\[0-9\]+\\^{Cxx=\\^{Cxx}}\[0-9\]+r\\^{Cxx=\\^{Cxx}}" } } */