1 /* Ensure that variables declared volatile by the user (as opposed to
2 synthesized by the EH-volatization machinery) _do_ trigger
3 "discards qualifiers from target pointer type" warnings. */
5 /* { dg-options "-fobjc-exceptions" } */
6 /* { dg-do compile } */
12 extern void some_func (int *);
14 @implementation TestMyTests
24 /* { dg-error "invalid conversion" "" { target *-*-* } 23 } */
25 /* { dg-message "initializing argument" "" { target *-*-* } 12 } */
39 /* { dg-error "invalid conversion" "" { target *-*-* } 38 } */
40 /* The following is disabled as it is already checked above and the testsuites seems
41 to count multiple different identical errors on the same line only once */
42 /* dg-message "initializing argument" "" { target *-*-* } 12 */
54 /* { dg-error "invalid conversion" "" { target *-*-* } 53 } */
55 /* The following is disabled as it is already checked above and the testsuites seems
56 to count multiple different identical errors on the same line only once */
57 /* dg-message "initializing argument" "" { target *-*-* } 12 */