1 /* Test for proper handling of volatile parameters in ObjC methods. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* Contributed by Ziemowit Laski <zlaski@apple.com> */
7 -(void) test2: (volatile int) a;
11 -(void) test2: (volatile int) a
13 /* The following assignment should NOT be optimized away. */
18 /* { dg-final { scan-assembler "li r\[0-9\]+,1" { target powerpc*-*-darwin* } } } */