1 /* Test for graceful encoding of const-qualified fields and parameters. */
2 /* Author: Ziemowit Laski <zlaski@apple.com> */
3 /* { dg-do compile } */
6 const struct Cxx *next;
10 const struct Cxx *obj;
12 - (ObjC *)initWithCxx: (struct Cxx *const)c and: (const struct Cxx *)d;
16 - (ObjC *)initWithCxx: (struct Cxx *const)c and: (const struct Cxx *)d {
22 /* { dg-final { scan-assembler "@\[0-9\]+@0:\[0-9\]+r\\^{Cxx=\\^r{Cxx}}\[0-9\]+\\^r{Cxx}" } } */